CVE-2024-22416
Published: 18 January 2024
Summary
CVE-2024-22416 is a critical-severity CSRF (CWE-352) vulnerability in Pyload-Ng Project Pyload-Ng. Its CVSS base score is 9.6 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 9.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
pyLoad, an open-source Python download manager, is affected by a CSRF vulnerability in its API. The API accepts arbitrary calls over GET requests, and the session cookie lacks the SameSite=strict attribute, allowing any API action to be triggered without authentication.
An unauthenticated remote attacker can exploit the flaw by luring a logged-in user into visiting a malicious page or link, resulting in unauthorized execution of any API call. With a CVSS score of 9.6, successful exploitation can fully compromise confidentiality, integrity, and availability with changed scope.
The issue is resolved in release 0.5.0b3.dev78. The project’s security advisory and associated commits on GitHub recommend immediate upgrade for all users; no other mitigations such as WAF rules or cookie configuration changes are specified. EPSS remains flat at 0.0590 with no post-disclosure increase.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-0154
Vulnerability details
pyLoad is a free and open-source Download Manager written in pure Python. The `pyload` API allows any API call to be made using GET requests. Since the session cookie is not set to `SameSite: strict`, this opens the library up…
more
to severe attack possibilities via a Cross-Site Request Forgery (CSRF) attack. As a result any API call can be made via a CSRF attack by an unauthenticated user. This issue has been addressed in release `0.5.0b3.dev78`. All users are advised to upgrade.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The CSRF vulnerability enables unauthenticated attackers to trick authenticated admins into executing arbitrary pyLoad API calls (e.g., adding admin users), facilitating exploitation of the public-facing/local web API (T1190), privilege escalation via exploitation (T1068), and creation of local application admin accounts (T1136.001).
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Awareness training educates users on avoiding untrusted links and actions that can be exploited via CSRF.
Requiring user re-entry of credentials for sensitive actions prevents automated forgery of requests without active user participation.
Security testing regimens explicitly include checks for missing or ineffective anti-CSRF protections in web applications.
Detects anomalous request patterns consistent with cross-site request forgery.