Code injection in Accelerated Mobile Pages - #VU15912

 

Code injection in Accelerated Mobile Pages - #VU15912

Published: November 15, 2018


Vulnerability identifier: #VU15912
CSH Severity: Low
CVSS v4.0: 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
CVE-ID: N/A
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: AMP Project
Affected software:
Accelerated Mobile Pages

Detailed vulnerability description

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

Update to version 0.9.97.20.

Sources