id: CVE-2022-23348

info:
  name: BigAnt Server 5.6.06 - Improper Access Control
  author: arafatansari
  severity: medium
  description: |
    BigAnt Server 5.6.06 is susceptible to improper access control. The software utililizes weak password hashes. An attacker can craft a password hash and thereby possibly possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    Unauthenticated attackers can access the ms_admin.php file containing weak password hashes for administrative accounts, potentially facilitating password cracking and unauthorized access.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the access control issue.
  reference:
    - https://github.com/bzyo/cve-pocs/tree/master/CVE-2022-23348
    - http://bigant.com
    - https://nvd.nist.gov/vuln/detail/CVE-2022-23348
    - https://www.bigantsoft.com/
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2022-23348
    cwe-id: CWE-916
    epss-score: 0.01207
    epss-percentile: 0.79219
    cpe: cpe:2.3:a:bigantsoft:bigant_server:5.6.06:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: bigantsoft
    product: bigant_server
    shodan-query: http.html:"bigant"
    fofa-query: body="bigant"
  tags: cve,cve2022,bigant,unauth,exposure,bigantsoft,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/Runtime/Data/ms_admin.php"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"user_name";'
          - '"user_pwd";'
          - '"user_id";'
        condition: and

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100b9e97a4ac4f7a5b0ca929e9c1583e4c98e1eea519b8b6f116ad609716dc122af02207c713e7a1f8b3f2a3b0a849e746230b660cdfaba78fc39aa6dac2e411103cdfa:922c64590222798bb761d5b6d8e72950