Lucene search
+L

WordPress Insert PHP 1.3 Code Execution

🗓️ 01 Aug 2016 00:00:00Reported by Marcel VermeulenType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 39 Views

WordPress Insert PHP 1.3 Code Execution vulnerability allows Contributor role to execute arbitrary PHP cod

Code
`------------------------------------------------------------------------  
Insert PHP WordPress Plugin allows authenticated user to execute  
arbitrary PHP  
------------------------------------------------------------------------  
Marcel Vermeulen <vermeulen.mc.at.gmail.com> & Ed van der Vlies  
<ecvdvlies.at.gmail.com>, July 2016  
  
------------------------------------------------------------------------  
Abstract  
------------------------------------------------------------------------  
It was found that the Insert PHP WordPress Plugin allows an  
authenticated user with Contributor role (or higher) to run arbitrary  
PHP code. Consequently, this effectively disables any security controls  
implemented in WordPress.  
  
------------------------------------------------------------------------  
OVE ID  
------------------------------------------------------------------------  
OVE-20160712-0001  
  
------------------------------------------------------------------------  
Tested versions  
------------------------------------------------------------------------  
These issues were successfully tested on Insert PHP WordPress Plugin  
version 1.3.  
  
------------------------------------------------------------------------  
Fix  
------------------------------------------------------------------------  
There is currently no fix available. The author of the Insert PHP  
WordPress Plugin has indicated that this issue will not be  
resolved/mitigated.  
  
------------------------------------------------------------------------  
Details  
------------------------------------------------------------------------  
https://sumofpwn.nl/advisory/2016/insert_php_wordpress_plugin_allows_authenticated_user_to_execute_arbitrary_php.html  
  
  
  
An authenticated user with Contributor role (or higher), can make a new post and execute any command on the server. Since the privileges of a Contributor are normally restricted, using the insert_php shortcode effectively disables any security controls implemented in WordPress.  
Proof of concept  
  
Create a new post and add the following shortcode:  
  
[insert_php]eval(base64_decode('c3lzdGVtKCdjYXQgL2V0Yy9wYXNzd2QnKTs='));[/insert_php]  
  
  
  
------------------------------------------------------------------------  
Summer of Pwnage (https://sumofpwn.nl) is a Dutch community project. Its  
goal is to contribute to the security of popular, widely used OSS  
projects in a fun and educational way.  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation