SB2018111507 - Code injection in AMP plugin for WordPress
Published: November 15, 2018
Security Bulletin ID
SB2018111507
CSH Severity
Low
Patch available
YES
Number of vulnerabilities
1
Exploitation vector
Remote access
Highest impact
Code execution
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Code injection (CVE-ID: N/A)
CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
The vulnerability allows a remote low-privileged attacker to inject malicious code on the targeted website.
The weakness exists in the ampforwp_save_steps_data which is called to save settings during the installation wizard that's been registered wp_ajax_ampforwp_save_installer ajax hook due to insufficient validation of user-supplied input. A remote attacker can supply a specially crafted input to inject arbitrary code on AMP pages.
Remediation
Install update from vendor's website.