CVE-2024-42681 Improper Preservation of Permissions in xxl-job
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.
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.
| Package | Affected | Fixed in |
|---|---|---|
com.xuxueli:xxl-job-core Maven | All versions | 2.4.2 |
com.xuxueli:xxl-job-core Maven | All versions | 2.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.
Other vulnerabilities in n/a
- CVE-2022-40929 XXL-JOB contains a Command execution vulnerability in background tasks
- CVE-2024-24113 XXL-JOB vulnerable to Server-Side Request Forgery
- CVE-2023-48089 xxl-job-admin vulnerable to Remote Code Execution
- CVE-2020-24922 xuxueli xxl-job Cross-Site Request Forgery Vulnerability
- CVE-2023-33779 Privilege escalation in XXL-Job
Sources
Also known as GHSA-cpfp-m5qw-c4r3.