CVE-2024-26450: n/a
An issue exists within Piwigo before v.14.2.0 allowing a malicious user to take over the application. This exploit involves chaining a Cross Site Request Forgery vulnerability to issue a Stored Cross Site Scripting payload stored within an Admin user's dashboard, executing remote JavaScript. This can be used to upload a new PHP file under an administrator and directly call that file from the victim's instance to connect back to a malicious listener.
AI Analysis
Technical Summary
CVE-2024-26450 is a vulnerability identified in Piwigo, an open-source photo gallery software, affecting all versions prior to 14.2.0. The issue arises from the combination of two web security flaws: Cross Site Request Forgery (CWE-352) and Stored Cross Site Scripting (CWE-79). An attacker crafts a malicious request that, when an administrator visits their dashboard, triggers the stored XSS payload. This JavaScript executes with admin privileges in the browser, enabling the attacker to perform unauthorized actions such as uploading a PHP file (web shell) to the server. Once uploaded, the attacker can remotely invoke this PHP file to gain persistent remote code execution on the server hosting Piwigo. The vulnerability does not require prior authentication but does require the targeted admin to interact with the malicious payload (user interaction). The CVSS v3.1 base score is 5.4 (medium), reflecting network attack vector, low attack complexity, no privileges required, but requiring user interaction, and limited confidentiality and integrity impact without availability impact. No public exploit code or active exploitation has been reported yet. This vulnerability highlights the risk of chained web application vulnerabilities that escalate privileges and enable remote takeover.
Potential Impact
The primary impact of CVE-2024-26450 is the potential full compromise of Piwigo installations running vulnerable versions. Successful exploitation allows attackers to execute arbitrary code on the server by uploading and invoking a PHP web shell. This can lead to unauthorized access to sensitive images and data stored within the gallery, defacement, data theft, or pivoting to other internal systems. Since Piwigo is often used by organizations and individuals to manage photo collections, the breach could result in privacy violations and reputational damage. The attack requires an administrator to interact with a malicious link or page, which may limit widespread exploitation but remains a significant risk in targeted attacks. The vulnerability does not affect availability directly but compromises confidentiality and integrity of the system. Organizations with publicly accessible Piwigo instances are at higher risk, especially if administrative users are less security-aware or if multi-factor authentication is not enforced.
Mitigation Recommendations
To mitigate CVE-2024-26450, organizations should immediately upgrade Piwigo to version 14.2.0 or later, where the vulnerability is patched. Until patching is possible, administrators should restrict access to the dashboard using IP whitelisting or VPNs to reduce exposure. Implementing Content Security Policy (CSP) headers can help limit the impact of stored XSS by restricting script execution sources. Enforce multi-factor authentication for all admin accounts to reduce the risk of session hijacking. Educate administrators to avoid clicking on suspicious links or visiting untrusted sites while logged into the Piwigo admin interface. Regularly audit web server directories for unauthorized PHP files and monitor logs for unusual activity indicating web shell usage. Employ web application firewalls (WAFs) with rules to detect and block CSRF and XSS attack patterns. Finally, conduct security assessments and penetration tests focusing on chained web vulnerabilities to identify and remediate similar risks.
Affected Countries
United States, Germany, France, United Kingdom, Canada, Australia, Netherlands, Italy, Spain, Japan
CVE-2024-26450: n/a
Description
An issue exists within Piwigo before v.14.2.0 allowing a malicious user to take over the application. This exploit involves chaining a Cross Site Request Forgery vulnerability to issue a Stored Cross Site Scripting payload stored within an Admin user's dashboard, executing remote JavaScript. This can be used to upload a new PHP file under an administrator and directly call that file from the victim's instance to connect back to a malicious listener.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-26450 is a vulnerability identified in Piwigo, an open-source photo gallery software, affecting all versions prior to 14.2.0. The issue arises from the combination of two web security flaws: Cross Site Request Forgery (CWE-352) and Stored Cross Site Scripting (CWE-79). An attacker crafts a malicious request that, when an administrator visits their dashboard, triggers the stored XSS payload. This JavaScript executes with admin privileges in the browser, enabling the attacker to perform unauthorized actions such as uploading a PHP file (web shell) to the server. Once uploaded, the attacker can remotely invoke this PHP file to gain persistent remote code execution on the server hosting Piwigo. The vulnerability does not require prior authentication but does require the targeted admin to interact with the malicious payload (user interaction). The CVSS v3.1 base score is 5.4 (medium), reflecting network attack vector, low attack complexity, no privileges required, but requiring user interaction, and limited confidentiality and integrity impact without availability impact. No public exploit code or active exploitation has been reported yet. This vulnerability highlights the risk of chained web application vulnerabilities that escalate privileges and enable remote takeover.
Potential Impact
The primary impact of CVE-2024-26450 is the potential full compromise of Piwigo installations running vulnerable versions. Successful exploitation allows attackers to execute arbitrary code on the server by uploading and invoking a PHP web shell. This can lead to unauthorized access to sensitive images and data stored within the gallery, defacement, data theft, or pivoting to other internal systems. Since Piwigo is often used by organizations and individuals to manage photo collections, the breach could result in privacy violations and reputational damage. The attack requires an administrator to interact with a malicious link or page, which may limit widespread exploitation but remains a significant risk in targeted attacks. The vulnerability does not affect availability directly but compromises confidentiality and integrity of the system. Organizations with publicly accessible Piwigo instances are at higher risk, especially if administrative users are less security-aware or if multi-factor authentication is not enforced.
Mitigation Recommendations
To mitigate CVE-2024-26450, organizations should immediately upgrade Piwigo to version 14.2.0 or later, where the vulnerability is patched. Until patching is possible, administrators should restrict access to the dashboard using IP whitelisting or VPNs to reduce exposure. Implementing Content Security Policy (CSP) headers can help limit the impact of stored XSS by restricting script execution sources. Enforce multi-factor authentication for all admin accounts to reduce the risk of session hijacking. Educate administrators to avoid clicking on suspicious links or visiting untrusted sites while logged into the Piwigo admin interface. Regularly audit web server directories for unauthorized PHP files and monitor logs for unusual activity indicating web shell usage. Employ web application firewalls (WAFs) with rules to detect and block CSRF and XSS attack patterns. Finally, conduct security assessments and penetration tests focusing on chained web vulnerabilities to identify and remediate similar risks.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- mitre
- Date Reserved
- 2024-02-19T00:00:00.000Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6d75b7ef31ef0b57259b
Added to database: 2/25/2026, 9:45:25 PM
Last enriched: 2/26/2026, 10:54:03 AM
Last updated: 4/12/2026, 5:08:08 PM
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.