Skip to content

CSRF vulnerability in Jenkins SWAMP Plugin allows capturing credentials

Moderate severity GitHub Reviewed Published Feb 16, 2022 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

maven org.continuousassurance.swamp.jenkins:swamp (Maven)

Affected versions

<= 1.2.6

Patched versions

None

Description

WAMP Plugin 1.2.6 and earlier does not perform a permission check in a method implementing form validation.\

This allows attackers with Overall/Read permission to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.

Additionally, this form validation method does not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability.

References

Published by the National Vulnerability Database Feb 15, 2022
Published to the GitHub Advisory Database Feb 16, 2022
Reviewed Dec 1, 2022
Last updated Jan 27, 2023

Severity

Moderate
4.2
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2022-25212

GHSA ID

GHSA-2pj6-5hqc-w5x9

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.