GHSA-265R-PP83-GWW7
Vulnerability from github – Published: 2022-05-24 17:09 – Updated: 2022-11-03 23:46
VLAI?
Summary
Cross-site Scripting in Apache Struts
Details
When the Struts2 debug mode is turned on, under certain conditions an arbitrary script may be executed in the 'Problem Report' screen. Also if JSP files are exposed to be accessed directly it's possible to execute an arbitrary script.
It is generally not advisable to have debug mode switched on outside of the development environment. Debug mode should always be turned off in production setup. Also never expose JSPs files directly and hide them inside WEB-INF folder or define dedicated security constraints to block access to raw JSP files.
Struts >= 2.3.20 is not vulnerable to this attack. We recommend upgrading to Struts 2.3.20 or higher if turning off debug mode is not possible.
{
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "org.apache.struts:struts2-core"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.20"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2015-2992"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2022-11-03T23:46:11Z",
"nvd_published_at": "2020-02-27T18:15:00Z",
"severity": "MODERATE"
},
"details": "When the Struts2 debug mode is turned on, under certain conditions an arbitrary script may be executed in the \u0027Problem Report\u0027 screen. Also if JSP files are exposed to be accessed directly it\u0027s possible to execute an arbitrary script. \n\nIt is generally not advisable to have debug mode switched on outside of the development environment. Debug mode should always be turned off in production setup. Also never expose JSPs files directly and hide them inside WEB-INF folder or define dedicated security constraints to block access to raw JSP files.\n\nStruts \u003e= 2.3.20 is not vulnerable to this attack. We recommend upgrading to Struts 2.3.20 or higher if turning off debug mode is not possible.",
"id": "GHSA-265r-pp83-gww7",
"modified": "2022-11-03T23:46:11Z",
"published": "2022-05-24T17:09:44Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2015-2992"
},
{
"type": "WEB",
"url": "https://cwiki.apache.org/confluence/display/WW/S2-025"
},
{
"type": "WEB",
"url": "https://cwiki.apache.org/confluence/display/WW/Security"
},
{
"type": "PACKAGE",
"url": "https://github.com/apache/struts"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20200330-0001"
},
{
"type": "WEB",
"url": "http://jvn.jp/en/jp/JVN88408929/index.html"
},
{
"type": "WEB",
"url": "http://jvndb.jvn.jp/en/contents/2015/JVNDB-2015-000124.html"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/76624"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Cross-site Scripting in Apache Struts"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…