CVE-2023-6148 Possible XSS vulnerability in Jenkins Plugin for Qualys Policy Compliance
An attacker with job configuration access can inject XSS payloads via a rogue endpoint response in the Qualys Jenkins plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-6148?
CVE-2023-6148 is a medium-severity cross-site scripting vulnerability in Qualys,Inc. Policy Compliance Connector Jenkins Plugin, published on 9 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Qualys Jenkins Plugin for Policy Compliance prior to version and including 1.0.5 was identified to be affected by a security flaw, which was missing a permission check while performing a connectivity check to Qualys Cloud Services. This allowed any user with login access and access to configure or edit jobs to utilize the plugin to configure a potential rouge endpoint via which it was possible to control response for certain request which could be injected with XSS payloads leading to XSS while processing the response data
Weakness: CWE-79
Which versions are affected by CVE-2023-6148?
2 open source packages ship an affected version, including com.qualys.plugins:qualys-pc. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.qualys.plugins:qualys-pc Maven | All versions | 1.0.6 |
com.qualys.plugins:qualys-pc Maven | All versions | 1.0.6 |
Products include Qualys Policy Compliance.
How do I fix CVE-2023-6148?
Upgrade com.qualys.plugins:qualys-pc to 1.0.6 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-6148 being exploited?
There is no known exploitation of CVE-2023-6148 in the wild and no public exploit code.
Other vulnerabilities in Qualys,Inc. Policy Compliance Connector Jenkins Plugin
Sources
Also known as GHSA-rwf9-8fqr-p44m.