CVE-2022-45592
NoneCVSS
—
EPSS
—
Published
Dec 4, 2023
CISA due date
—
Cloudanix analysis
A web framework flaw could let attackers trick servers into making secret requests, store harmful files, or run malicious code inside users browsers.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- SSRF
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits server-side request forgery to reach internal resources, persistent cross-site scripting to execute attacker-controlled scripts in user browsers, and arbitrary file uploads that can place malicious content on the server.
Why it matters to the business
Organizations relying on the Qwik framework risk unauthorized internal network access, data exfiltration, application defacement, and potential compliance violations until the affected code is updated.
How an attack unfolds
An attacker submits crafted requests that abuse the SSRF component to probe or reach internal services, leverages the file upload flaw to store malicious payloads, and uses persistent XSS to execute those payloads when other users interact with the application.
How to fix it
Upgrade builderio/qwik to the commit 4f0812cb585fc5a5c46bf0c7d1d0079c70ff447d or later; rebuild and redeploy all dependent applications.
How to confirm the fix worked
Confirm the repository or package is at or beyond commit 4f0812cb585fc5a5c46bf0c7d1d0079c70ff447d and test that SSRF, file upload, and XSS vectors are rejected.
Typical attack path
- Locate a Qwik-based application exposing the vulnerable endpoints
- Craft and send SSRF requests to map or access internal services
- Upload malicious files or scripts through the file upload path
- Inject persistent XSS payloads that survive storage and retrieval
- Trigger payload execution via normal user browsing
How to detect it
Review application and server logs for unexpected outbound connections, unusual file uploads, and stored script tags or event handlers that were not present before.
What your security team should do
- Apply the fixed commit across all Qwik deployments without delay
- Add input validation and network egress controls around SSRF-prone paths
- Scan for and remove any previously uploaded malicious files
- Enable Content-Security-Policy headers to limit XSS impact
The record
[(1) Server Side Request Forgery (SSRF), (2) persistant Cross site scripting (XSS), and (3) File upload vulnerability.]
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:16.04:LTS | hoteldruid | 0 | No fix |
| Ubuntu:18.04:LTS | hoteldruid | 0 | No fix |
| Ubuntu:20.04:LTS | hoteldruid | 0 | No fix |
| Ubuntu:22.04:LTS | hoteldruid | 0 | No fix |
| Ubuntu:24.04:LTS | hoteldruid | 0 | No fix |
| Ubuntu:24.10 | hoteldruid | 0 | 3.0.6-1 |
| Ubuntu:Pro:16.04:LTS | hoteldruid | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | hoteldruid | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | hoteldruid | 0 | No fix |
Related vulnerabilities
- CVE-2023-34854 [Authenticated remote code execution via backup/restore in HotelDruid] Also affects hoteldruid
- CVE-2023-47164 Cross-site scripting vulnerability in HOTELDRUID 3.0.5 and earlier allows a remote… Also affects hoteldruid
- CVE-2023-43373 Hoteldruid v3.0.5 was discovered to contain a SQL injection vulnerability via the… Also affects hoteldruid
- CVE-2023-43375 Hoteldruid v3.0.5 was discovered to contain multiple SQL injection vulnerabilities at… Also affects hoteldruid
- CVE-2023-43376 A cross-site scripting (XSS) vulnerability in /hoteldruid/clienti.php of Hoteldruid… Also affects hoteldruid
- CVE-2023-43374 Hoteldruid v3.0.5 was discovered to contain a SQL injection vulnerability via the… Also affects hoteldruid
- CVE-2023-43377 A cross-site scripting (XSS) vulnerability in /hoteldruid/visualizza_contratto.php of… Also affects hoteldruid
- CVE-2023-43371 Hoteldruid v3.0.5 was discovered to contain a SQL injection vulnerability via the… Also affects hoteldruid