Patrowl Intel
Sign in
Back to feed

CVE-2011-1772

Published May 17, 2022

Summary

Cross-site Scripting in Apache Struts Multiple Cross-Site Scripting (XSS) in XWork generated error pages in Apache Struts. By default, XWork doesn't escape action's names in automatically generated error page, allowing for a successful XSS attack. When Dynamic Method Invocation (DMI) is enabled, the action name is generated dynamically base on request parameters. This allows to call non-existing page and method to produce error page with injected code as below. As of Struts 2.2.3 the action names are escaped when automatically generated error pages are rendered.

Affected

Weaknesses

CWE-79

Exploits & references 4 exploits · 12 references

Timeline

  1. PublishedMay 17, 2022

Potentially impacted assets

See if this affects your attack surface

Latest trending attack

Criticaltoday

Django - SQL Injection in range & in Lookups

Django is an open-source Python web framework. Its ORM builds SQL queries from model filters and lookups. CVE-2026-132092 Queries that use the `range` and `in` lookups are subject to SQL injection when they involve column aliases or key transforms containing percent signs. For `__range`, the flaw is reachable when more than two right-hand-side values are passed. For `__in`, it is reachable when a bilateral transform is used. Exploitation happens over the network through any application endpoint that passes attacker-controlled values into such a lookup. Affected versions are Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20, plus the main development branch. Earlier, unsupported series (5.1.x, 5.0.x and 4.2.x) were not evaluated and may also be affected. Fixed versions are 6.1.4, 6.0.11 and 5.2.20. The fix makes the `range` lookup require exactly two right-hand-side values. Percent signs in column aliases and key transforms have been deprecated since Django 6.0, with removal scheduled for 2028. The Django project rates the issue High severity. It was reported by Cristian Panaro.

Take 15 minutes to discover the Patrowl EASM platform with our experts

The intelligence behind this page, applied to your own exposure: your assets discovered, matched to these signals, prioritised by the same score.

  • European Investment Bank
  • MGEN Solution
  • Forvis Mazars
  • Colas
  • Heetch
  • Xplor
This month’s verdictsPaste yours