CVE-2024-42681 Improper Preservation of Permissions in xxl-job

High 8.8 Published Updated

A remote attacker can execute arbitrary code in xxl-job due to insecure permissions in the Sub-Task ID component.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-42681?

CVE-2024-42681 is a high-severity missing authorization vulnerability in n/a, published on 15 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Insecure Permissions vulnerability in xxl-job v.2.4.1 allows a remote attacker to execute arbitrary code via the Sub-Task ID component.

Weakness: CWE-276, CWE-277

Which versions are affected by CVE-2024-42681?

2 open source packages ship an affected version, including com.xuxueli:xxl-job-core. It affects 1 product.

PackageAffectedFixed in
com.xuxueli:xxl-job-core MavenAll versions2.4.2
com.xuxueli:xxl-job-core MavenAll versions2.4.2

Products include Xuxueli Xxl-Job.

How do I fix CVE-2024-42681?

Upgrade com.xuxueli:xxl-job-core to 2.4.2 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-42681 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-42681 exists.

Sources

Also known as GHSA-cpfp-m5qw-c4r3.

Is CVE-2024-42681 in your software?

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

Check your SBOMs for free