Cyber Resilience

CVE-2024-42681

Xuxueli Xxl-Job 2.4.1

Public PoC
Published
15 August 2024
Modified
19 August 2024
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0089 56th percentile
Risk Priority 67 floored blend · peak EPSS

Summary

CVE-2024-42681 is a high-severity Incorrect Default Permissions (CWE-276) vulnerability in Xuxueli Xxl-Job. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Services File Permissions Weakness (T1574.010); ranked in the top 44% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1574.010 Services File Permissions Weakness Stealth
Adversaries may execute their own malicious payloads by hijacking the binaries used by services.
T1034 Path Interception Persistence
**This technique has been deprecated.
T1543 Create or Modify System Process Persistence
Adversaries may create or modify system-level processes to repeatedly execute malicious payloads as part of persistence.
T1548 Abuse Elevation Control Mechanism Privilege Escalation
Adversaries may circumvent mechanisms designed to control privilege elevation to gain higher-level permissions.
T1552 Unsecured Credentials Credential Access
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
T1554 Compromise Host Software Binary Persistence
Adversaries may modify host software binaries to establish persistent access to systems.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-48087Same product: Xuxueli Xxl-Job
CVE-2023-33779Same product: Xuxueli Xxl-Job
CVE-2023-27087Same product: Xuxueli Xxl-Job
CVE-2023-48089Same product: Xuxueli Xxl-Job
CVE-2025-7789Same product: Xuxueli Xxl-Job
CVE-2025-7788Same product: Xuxueli Xxl-Job
CVE-2025-7787Same product: Xuxueli Xxl-Job
CVE-2023-48088Same product: Xuxueli Xxl-Job
CVE-2025-9263Same product: Xuxueli Xxl-Job
CVE-2024-24113Same product: Xuxueli Xxl-Job

Affected Assets

xuxueli
xxl-job
2.4.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 19 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

Enforces approved authorizations on files and resources so overly permissive defaults cannot be exploited.

Requires least-privilege defaults so that installed files are not world-writable by default.

Requires documented, restrictive configuration settings that cover file and directory permissions.

Enforces access restrictions on changes, including permission settings applied during installation or configuration.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-01 full match
prevents

Hardened baselines and configuration management explicitly require correct default file permissions.

PR.AA-05 mostly match
prevents

Defining and enforcing least-privilege access permissions directly prevents overly permissive defaults at install time.

ID.AM-08 partial match
prevents

Lifecycle management can encompass permission settings, yet the control is too broad to specifically mitigate incorrect defaults.

PR.PS-06 partial match
prevents

Secure SDLC practices include establishing secure defaults, but address only the development-phase portion of the weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing may detect permission issues but does not prevent insecure inheritance by design.

prevents

Standard templates that restrict access to utility programs and host parameter settings prevent the assignment of overly permissive default permissions on critical resources.

degrades

Privileged access rights management can limit inheritance of excessive permissions but does not directly address insecure default permission inheritance.

prevents

Secure development lifecycle practices can include permission model reviews but do not guarantee secure inherited permissions.

prevents

Secure system architecture principles can incorporate least-privilege permission models but do not specifically mandate secure inheritance.

prevents

Secure coding standards can explicitly require setting restrictive permissions at object creation, directly mitigating insecure inheritance.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Windows Server 2016 (4 rules)
  • V-224833 Permissions for program file directories must conform to minimum requirements. prevents CWE-276
  • V-224834 Permissions for the Windows installation directory must conform to minimum requirements. prevents CWE-276
  • V-224974 Domain-created Active Directory Organizational Unit (OU) objects must have proper access control permissions. prevents CWE-277
Windows Server 2019 (4 rules)
  • V-205735 Windows Server 2019 permissions for program file directories must conform to minimum requirements. prevents CWE-276
  • V-205736 Windows Server 2019 permissions for the Windows installation directory must conform to minimum requirements. prevents CWE-276
  • V-205743 Windows Server 2019 organization created Active Directory Organizational Unit (OU) objects must have proper access control permissions. prevents CWE-277
Windows Server 2022 (3 rules)
  • V-254252 Windows Server 2022 permissions for program file directories must conform to minimum requirements. prevents CWE-276
  • V-254253 Windows Server 2022 permissions for the Windows installation directory must conform to minimum requirements. prevents CWE-276
  • V-254395 Windows Server 2022 organization created Active Directory Organizational Unit (OU) objects must have proper access control permissions. prevents CWE-277

References