Cross-Site Request Forgery in Sunkaifei Flycms
CVE-2024-22939 is a Cross-Site Request Forgery (CSRF) vulnerability in Sunkaifei Flycms version 1.0 allowing unauthorized modification of article categories via the category_edit endpoint.
CVE search metadata
CVE search record: CVE-2024-22939. Severity: high. CVSS: 8.8. EPSS: 0.69%. KEV: no. Product: Flycms (1.0). Brief: Cross-Site Request Forgery in Sunkaifei Flycms. Brief link: https://feed.craftedsignal.io/briefs/2026-08-flycms-csrf/
CVE-2024-22939 describes a Cross-Site Request Forgery (CSRF) vulnerability discovered in Sunkaifei Flycms version 1.0. The vulnerability resides in the '/system/article/category_edit' component of the application. An unauthenticated attacker can exploit this flaw by tricking an authenticated administrator into executing a malicious request, which leads to the unauthorized modification of article categories. The CVSS score for this vulnerability is 8.8, reflecting its potential for significant impact on data integrity and application management. A functional proof-of-concept (PoC) exploit has been published, increasing the risk of exploitation for organizations currently running this version.
Attack Chain
- Attacker identifies a target instance of Sunkaifei Flycms 1.0.
- Attacker crafts a malicious HTML/JavaScript payload containing a hidden form targeting the '/system/article/category_edit' endpoint.
- Attacker identifies a target user with administrative privileges who is currently authenticated to the Flycms instance.
- Attacker uses social engineering to trick the authenticated administrator into visiting a malicious webpage or clicking a link containing the CSRF payload.
- The victim's browser automatically includes their active session cookies when it sends the POST request to the application.
- The server validates the session cookies and processes the unauthorized request to modify article categories.
- The target application state is updated based on the attacker's parameters, resulting in unauthorized data modification.
Impact
Successful exploitation allows an unauthenticated attacker to manipulate content management structures, potentially leading to unauthorized data alteration, disruption of article management, or further site defacement. If used in conjunction with other vulnerabilities, this could impact the overall confidentiality, integrity, and availability of the affected Flycms deployment.
Recommendation
Detection engineering teams should prioritize identifying potential CSRF attempts directed at administrative endpoints.
- Monitor webserver logs for unauthorized POST requests to the '/system/article/category_edit' endpoint.
- Implement and enforce standard CSRF protection mechanisms (e.g., anti-CSRF tokens) within the application code to validate the origin of requests.
- Audit and restrict access to administrative interfaces and ensure that administrative sessions are protected by appropriate timeouts and secure cookie configurations.
- Given the lack of a vendor patch for version 1.0, consider moving to an alternative CMS or isolating the application environment until a secure update is provided.
Immediate actions
Review web access logs for activity related to /system/article/category_edit
Mitigations
Isolate vulnerable Flycms instances until secure configuration or update is implemented
CVE-2024-22939
Detection coverage 1
Detect Potential CSRF Exploitation Attempts Against Flycms
highDetects unauthorized POST requests to the article category edit endpoint of Flycms, which may indicate a CSRF attempt.
Detection queries are available on the platform. Get full rules →