Ruby on Rails CSRF Protection Bypass via X-Requested-With Header
Multiple products
At a glance
Ruby on Rails 2.1.x, 2.2.x, and 2.3.x before 2.3.11, and 3.x before 3.0.4, does not properly validate HTTP requests that contain an X-Requested-With header, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via forged (1) AJAX or (2) API requests that leverage "combinations of browser plugins and HTTP redirects," a related issue to CVE-2011-0696.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 1.425%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:rubyonrails | rails | Affected versions:2.1.0Show full version range for rails2.1.12.1.22.2.02.2.12.2.22.3.102.3.22.3.32.3.42.3.93.0.03.0.13.0.23.0.33.0.4 |
| Vendor:Debian | libactionmailer-rubyEnvironments (4)
| Affected versions: < 2.3.11-0.1 |
| Vendor:Debian | libactionmailer-ruby1.8Environments (4)
| Affected versions: < 2.3.11-0.1 |
| Vendor:Debian | libactionpack-rubyEnvironments (4)
| Affected versions: < 2.3.11-0.1 |
| Vendor:Debian | libactionpack-ruby1.8Environments (4)
| Affected versions: < 2.3.11-0.1 |
| Vendor:Debian | libactiverecord-rubyEnvironments (4)
| Affected versions: < 2.3.11-0.1 |
| Vendor:Debian | libactiverecord-ruby1.8Environments (4)
| Affected versions: < 2.3.11-0.1 |
| Vendor:Debian | libactiverecord-ruby1.9.1Environments (4)
| Affected versions: < 2.3.11-0.1 |
| Vendor:Debian | libactiveresource-rubyEnvironments (4)
| Affected versions: < 2.3.11-0.1 |
| Vendor:Debian | libactiveresource-ruby1.8Environments (4)
| Affected versions: < 2.3.11-0.1 |
1–10 of 16 · Page 1 of 2
CVSS scores and metrics2
[email protected] · NVD (Primary)Primary6.8 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:P/A:Pnvd · Wazuh CTI (cna)6.8 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:P/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences