CVE-2018-1229 Cross-site Scripting in Pivotal Spring Batch Admin

Medium 6.1 Published Updated

Unauthenticated attackers can inject malicious scripts via file uploads in Spring Batch Admin, leading to script execution in victim browsers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2018-1229?

CVE-2018-1229 is a medium-severity cross-site scripting vulnerability in Spring Batch Admin, published on 21 Mar 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Pivotal Spring Batch Admin, all versions, contains a stored XSS vulnerability in the file upload feature. An unauthenticated malicious user with network access to Spring Batch Admin could store an arbitrary web script that would be executed by other users. This issue has not been patched because Spring Batch Admin has reached end of life.

Weakness: CWE-79

Which versions are affected by CVE-2018-1229?

2 open source packages ship an affected version, including org.springframework.batch:spring-batch-admin-manager. It affects 1 product.

PackageAffectedFixed in
org.springframework.batch:spring-batch-admin-manager MavenAll versions to 2.0.0.M1None
org.springframework.batch:spring-batch-admin-manager MavenAll versions to 2.0.0.M1None

Products include Pivotal Software Spring Batch Admin.

How do I fix CVE-2018-1229?

No fix has been published for CVE-2018-1229 yet. Limit exposure of the affected software until one is available.

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-2018-1229 being exploited?

There is no known exploitation of CVE-2018-1229 in the wild and no public exploit code.

Sources

Also known as GHSA-4cj8-779h-r25h.

Is CVE-2018-1229 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free