CAPEC-356
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CWE-94
HIPAA-164.306(a)
164.308(a)
ISO27001-A.14.2.5
OWASP 2013-A1
OWASP 2017-A1
PCI v3.2-6.5.1
WASC-23

Code Evaluation (RoR)

Severity:
Critical
Summary

An attacker can send a specially crafted XML request to the application containing an embedded YAML-encoded object. Rails will parse the XML and load the objects from YAML. In the process, arbitrary Ruby code sent by the attacker may be executed (depending on the type and structure of the injected objects).

Impact

An attacker can execute arbitrary Ruby on Rails (RoR) code on the system. The attacker may also be able to execute arbitrary system commands.

Remediation

Upgrade to version 2.3.15, 3.0.19, 3.1.10, 3.2.11, or higher, to address this vulnerability. Additionally, the vendor has released a patch to address this issue, or users may opt to apply the following temporary workaround.

  • Disable XML entirely
  • Remove YAML / Symbol support from XML parsing
Required Skills for Successful Exploitation
Actions To Take
Vulnerability Index

You can search and find all vulnerabilities

Select Vulnerability
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Featured resources

Blog

Strengthening enterprise application security: Invicti acquires Kondukto

Blog

Modern AppSec KPIs: Moving from scan counts to real risk reduction

Blog

Friends don’t let friends shift left: Shift smarter with DAST-first AppSec

Blog

Vibe talking: Dan Murphy on the promises, pitfalls, and insecurities of vibe coding

No items found.