Remote PHP code execution in Ad Inserter plugin for WordPress



Published: 2019-07-18
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID N/A
CWE-ID CWE-94
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Ad Inserter – Ad Manager & AdSense Ads
Web applications / Modules and components for CMS

Vendor Igor Funa

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Code Injection

EUVDB-ID: #VU19240

Risk: High

CVSSv3.1: 7.9 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due improper input validation. A remote authenticated attacker who has this special cookie: AI_WP_DEBUGGING=2 can trigger the debugging feature, send a specially crafted request and execute arbitrary PHP code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Ad Inserter – Ad Manager & AdSense Ads: 1.6.0 - 2.4.21

External links

http://plugins.trac.wordpress.org/changeset/2122577/ad-inserter
http://www.wordfence.com/blog/2019/07/critical-vulnerability-patched-in-ad-inserter-plugin/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###