Apache Struts lastName cross-site scripting

apache-struts-lastname-xss (72888) The risk level is classified as MediumMedium Risk


Apache Struts is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the editPerson.action and struts2-rest-showcase/orders scripts. A remote attacker could exploit this vulnerability using the name, lastName or clientNape parameter in a specially-crafted URL to execute script in a victim's Web browser within the security context of the hosting Web site, once the URL is clicked. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.


Base Score: 4.3
  Access Vector: Network
  Access Complexity: Medium
  Authentication: None
  Confidentiality Impact: None
  Integrity Impact: Partial
  Availability Impact: None
Temporal Score: 4.1
  Exploitability: High
  Remediation Level: Unavailable
  Report Confidence: Uncorroborated


Gain Access


No remedy available as of October 1, 2014.


  • Apache Struts Web site: Struts.
  • Offensive Security Exploit Database [02-02-2012]: Apache Struts Multiple Persistent Cross-Site Scripting Vulnerabilities.
  • BID-51902: Apache Struts Multiple HTML Injection Vulnerabilities
  • CVE-2012-1006: Multiple cross-site scripting (XSS) vulnerabilities in Apache Struts 2.0.14 and 2.2.3 allow remote attackers to inject arbitrary web script or HTML via the (1) name or (2) lastName parameter to struts2-showcase/person/editPerson.action, or the (3) clientName parameter to struts2-rest-showcase/orders.
  • OSVDB ID: 78990: Apache Struts struts2-showcase/person/editPerson.action Multiple Parameter XSS
  • OSVDB ID: 78991: Apache Struts struts2-rest-showcase/orders clientName Parameter XSS

Platforms Affected:

  • Apache Struts 2.0.14
  • Apache Struts 2.2.3


Feb 01, 2012

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page