Invalid HTTP method overrides allow possible XSS or other attacks in Symfony
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| symfony/http-foundation Packagist |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| symfony/http-foundation Packagist |
|
|
4.1.124.2.7| symfony/symfony Packagist |
|
|
In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, HTTP Methods provided as verbs or using the override header may be treated as trusted input, but they are not validated, possibly causing SQL injection or XSS. This is related to symfony/http-foundation.
From the CVE record · mitre
Symfony HTTP Foundation does not validate HTTP methods supplied as verbs or through the override header. If an application treats those methods as trusted input, an attacker may be able to cause SQL injection or XSS. The input does not specify authentication or user-interaction requirements.
Check applications using Packagist symfony/http-foundation or symfony/symfony versions 2.7.0–2.7.50, 2.8.0–2.8.49, 3.0.0–3.4.25, 4.0.0–4.1.11, or 4.2.0–4.2.6.