CVE-2024-9847 in flatpressinfo

Summary

by MITRE • 03/20/2025

FlatPress CMS version latest is vulnerable to Cross-Site Request Forgery (CSRF) attacks that allow an attacker to enable or disable plugins on behalf of a victim user. The attacker can craft a malicious link or script that, when clicked by an authenticated user, will send a request to the FlatPress CMS server to perform the desired action on behalf of the victim user. Since the request is authenticated, the server will process it as if it were initiated by the legitimate user, effectively allowing the attacker to perform unauthorized actions. This vulnerability is fixed in version 1.4.dev.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 06/24/2025

The vulnerability described in CVE-2024-9847 represents a critical Cross-Site Request Forgery weakness within FlatPress CMS that undermines the integrity of user authentication mechanisms. This flaw exists in the latest version of the content management system and specifically targets the plugin management functionality, creating a pathway for attackers to manipulate the system's operational state without proper authorization. The vulnerability stems from the absence of proper CSRF protection mechanisms in the administrative plugin management endpoints, allowing malicious actors to exploit the trust relationship between the web application and authenticated users.

The technical implementation of this vulnerability involves the manipulation of HTTP requests that are normally processed through legitimate user sessions. When an authenticated user visits a malicious webpage or clicks on a crafted link, the attacker's payload automatically submits requests to the FlatPress server to enable or disable plugins. This occurs because the application does not validate the origin of requests or implement anti-CSRF tokens that would normally verify the user's intent to perform specific actions. The flaw operates at the application layer and can be exploited through various vectors including email phishing campaigns, compromised websites, or social engineering tactics that trick users into visiting malicious content.

The operational impact of this vulnerability extends beyond simple privilege escalation as it allows attackers to fundamentally alter the security posture of the affected CMS installation. By enabling or disabling plugins, an attacker can potentially compromise the system's security controls, introduce malicious functionality, or disable critical security features. This capability enables attackers to establish persistent access, disrupt service availability, or create backdoors within the system. The vulnerability affects all authenticated users with administrative privileges, making it particularly dangerous in environments where multiple administrators have access to the system. The exploitation process leverages the principle of trust that exists between the web application and legitimate users, effectively bypassing traditional authentication mechanisms.

Organizations using FlatPress CMS should prioritize immediate remediation through the upgrade to version 1.4.dev which contains the necessary patches to address the CSRF vulnerability. The fix implements proper CSRF token validation mechanisms that ensure requests originate from legitimate user interactions rather than automated malicious payloads. Additionally, system administrators should implement comprehensive monitoring of plugin activation and deactivation events to detect potential unauthorized modifications. Security teams should conduct thorough assessments of their FlatPress installations to identify any potential compromise from previous exploitation attempts. The vulnerability aligns with CWE-352 which specifically addresses Cross-Site Request Forgery weaknesses, and corresponds to ATT&CK technique T1078 which covers valid accounts as a means of persistence and privilege escalation. Organizations should also consider implementing additional security controls such as web application firewalls and regular security audits to prevent similar vulnerabilities from being exploited in other components of their web infrastructure.

Responsible

@huntr Ai

Reservation

10/10/2024

Disclosure

03/20/2025

Moderation

accepted

CPE

ready

EPSS

0.00305

KEV

no

Activities

very low

Sector

Education

Sources

Interested in the pricing of exploits?

See the underground prices here!