Lucene search
K

DerbyNet 9.0 render-document.php Cross Site Scripting

🗓️ 05 Apr 2024 00:00:00Reported by Valentin LobsteinType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 255 Views

DerbyNet 9.0 render-document.php XSS CVE-2024-3092

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2024-30920
6 Apr 202409:41
circl
CNNVD
DerbyNet 跨站脚本漏洞
8 Apr 202400:00
cnnvd
CVE
CVE-2024-30920
18 Apr 202400:00
cve
Cvelist
CVE-2024-30920
18 Apr 202400:00
cvelist
NVD
CVE-2024-30920
18 Apr 202421:15
nvd
Positive Technologies
PT-2024-23670 · Derbynet · Derbynet
5 Apr 202400:00
ptsecurity
RedhatCVE
CVE-2024-30920
23 May 202510:17
redhatcve
Vulnrichment
CVE-2024-30920
18 Apr 202400:00
vulnrichment
`CVE ID: CVE-2024-30920  
  
Description:  
A Cross Site Scripting (XSS) vulnerability has been identified in DerbyNet v9.0, specifically within the `render-document.php` component. This vulnerability allows a remote attacker to execute arbitrary code via crafted URLs. The root cause of the vulnerability is the application's failure to properly sanitize user input in document rendering paths, which permits the injection of malicious scripts.  
  
Vulnerability Type: XSS (Cross Site Scripting)  
  
Vendor of Product:  
DerbyNet - https://github.com/jeffpiazza/derbynet  
  
Affected Product Code Base:  
DerbyNet - v9.0  
  
Affected Component:  
render-document.php  
  
Attack Type:  
Remote  
  
Impact:  
Code execution  
  
Root Cause:  
The vulnerability arises from the application's display of debug information, including `ORIG_SCRIPT_FILENAME`, `DOCUMENT_URI`, `SCRIPT_NAME`, and `PHP_SELF`. These debug outputs improperly handle user-supplied input by not sanitizing it before inclusion in the output, leading directly to XSS vulnerabilities when malicious inputs are rendered by the browser.  
  
Attack Vectors:  
The vulnerability can be exploited with URLs such as:  
- `http://127.0.0.1:8000/render-document.php/racer/<img src=x onerror=alert(1)>`  
- `http://127.0.0.1:8000/render-document.php/<img src=x onerror=alert(1)>`  
  
Discoverer:  
Valentin Lobstein  
  
References:  
- http://derbynet.com  
- https://github.com/jeffpiazza/derbynet  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation