Cyber Resilience

CVE-2024-22416

CriticalPublic PoC

Published: 18 January 2024

Published
18 January 2024
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 9.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS Score 0.0590 90.8th percentile
Risk Priority 23 60% EPSS · 20% KEV · 20% CVSS

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

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

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1136.001 Local Account Persistence
Adversaries may create a local account to maintain access to victim systems.
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

pyload-ng project
pyload-ng
≤ 0.5.0b3.dev78

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.

addresses: CWE-352

Awareness training educates users on avoiding untrusted links and actions that can be exploited via CSRF.

addresses: CWE-352

Requiring user re-entry of credentials for sensitive actions prevents automated forgery of requests without active user participation.

addresses: CWE-352

Security testing regimens explicitly include checks for missing or ineffective anti-CSRF protections in web applications.

addresses: CWE-352

Detects anomalous request patterns consistent with cross-site request forgery.

References