CVE-2013-4225 Code injection in RESTful Web Services
Authenticated users can execute arbitrary PHP code or perform XSS via crafted text fields in the Drupal RESTful Web Services module.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2013-4225?
CVE-2013-4225 is a high-severity code injection vulnerability in RESTful Web Services, published on 11 Feb 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The RESTful Web Services (restws) module 7.x-1.x before 7.x-1.4 and 7.x-2.x before 7.x-2.1 for Drupal does not properly restrict access to entity write operations, which makes it easier for remote authenticated users with the "access resource node" and "create page content" permissions (or equivalents) to conduct cross-site scripting (XSS) or execute arbitrary PHP code via a crafted text field.
Which versions are affected by CVE-2013-4225?
It affects 1 product.
Products include Restful Web Services Project Restful Web Services.
How do I fix CVE-2013-4225?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2013-4225 being exploited?
There is no known exploitation of CVE-2013-4225 in the wild and no public exploit code.
Other vulnerabilities in RESTful Web Services
Sources
Also known as GHSA-cc8q-cj34-v366.