
4 new exploits VMware 5.5.1 COM Object Arbitrary Partition Table Delete Exploit VMware 5.5.1 - COM Object Arbitrary Partition Table Delete Exploit VMware Inc 6.0.0 CreateProcess Remote Code Execution Exploit VMware Inc 6.0.0 - CreateProcess Remote Code Execution Exploit VMware Workstation (hcmon.sys 6.0.0.45731) Local DoS VMware Workstation - (hcmon.sys 6.0.0.45731) Local DoS VMware COM API ActiveX Remote Buffer Overflow PoC VMware - COM API ActiveX Remote Buffer Overflow PoC RoundCube Webmail 0.2-3 beta Code Execution RoundCube Webmail 0.2-3 beta - Code Execution VMWare Fusion 2.0.5 - vmx86 kext Kernel Local Root Exploit VMware Fusion 2.0.5 - vmx86 kext Kernel Local Root Exploit VMWare Fusion 2.0.5 vmx86 kext Local PoC VMware Fusion 2.0.5 - vmx86 kext Local PoC VMware Remote Console e.x.p build-158248 - format string VMware Remote Console e.x.p build-158248 - Format String VMware Workstation 7.1.1 VMkbd.sys Denial of Service Exploit VMware Workstation 7.1.1 - VMkbd.sys Denial of Service Exploit VMware Tools update OS Command Injection VMware Tools - Update OS Command Injection VMware Update Manager Directory Traversal VMware - Update Manager Directory Traversal VMWare 1.0.1 - Buffer Overflow VMware 1.0.1 - Buffer Overflow VMWare GSX Server 2.0 - Authentication Server Buffer Overflow VMware GSX Server 2.0 - Authentication Server Buffer Overflow VMware vCenter Chargeback Manager ImageUploadServlet Arbitrary File Upload VMware vCenter - Chargeback Manager ImageUploadServlet Arbitrary File Upload VMware Player 1.0.1 Build 19317 Malformed VMX File Denial of Service VMware Player 1.0.1 Build 19317 - Malformed VMX File Denial of Service VMware 5.5.1 Partition Table Deletion Denial of Service VMware 5.5.1 - Partition Table Deletion Denial of Service VMware Server 2.0.1_ESXi Server 3.5 - Directory Traversal VMware Server 2.0.1 / ESXi Server 3.5 - Directory Traversal VMware View 3.1.x URL Processing Cross-Site Scripting VMware View 3.1.x - URL Processing Cross-Site Scripting PHPCollab 2.5 - SQL Injection PHPCollab 2.5 - (deletetopics.php) SQL Injection phpCollab 2.5 Database Backup Information Disclosure phpCollab 2.5 - Database Backup Information Disclosure phpCollab 2.5 uploadfile.php Crafted Request Arbitrary Non-PHP File Upload phpCollab 2.5 - uploadfile.php Crafted Request Arbitrary Non-PHP File Upload phpCollab 2.5 Unauthenticated Direct Request Multiple Protected Page Access phpCollab 2.5 - Unauthenticated Direct Request Multiple Protected Page Access Wireshark 1.12.0 to 1.12.12 - NDS Dissector Denial of Service Wireshark 1.12.0 - 1.12.12 - NDS Dissector Denial of Service Wireshark 2.0.0 to 2.0.4 - CORBA IDL Dissectors Denial of Service Wireshark 2.0.0 to 2.0.4_ 1.12.0 to 1.12.12 - PacketBB Dissector Denial of Service Wireshark 2.0.0 to 2.0.4_ 1.12.0 to 1.12.12 - WSP Dissector Denial of Service Wireshark 2.0.0 to 2.0.4_ 1.12.0 to 1.12.12 - RLC Dissector Denial of Service Wireshark 2.0.0 - 2.0.4 - CORBA IDL Dissectors Denial of Service Wireshark 2.0.0 - 2.0.4 / 1.12.0 - 1.12.12 - PacketBB Dissector Denial of Service Wireshark 2.0.0 - 2.0.4 / 1.12.0 - 1.12.12 - WSP Dissector Denial of Service Wireshark 2.0.0 - 2.0.4 / 1.12.0 - 1.12.12 - RLC Dissector Denial of Service Navis WebAccess - SQL Injection phpCollab CMS 2.5 - (emailusers.php) SQL Injection Microsoft Windows Group Policy - Privilege Escalation (MS16-072) WordPress Add From Server Plugin < 3.3.2 - (File Upload) CSRF
51 lines
No EOL
2.6 KiB
Text
Executable file
51 lines
No EOL
2.6 KiB
Text
Executable file
Cross-Site Request Forgery vulnerability in Add From Server WordPress Plugin
|
|
|
|
Abstract
|
|
|
|
It was discovered that Add From Server is vulnerabile to Cross-Site Request Forgery. It can be exploited by luring the target user into clicking a specially crafted link or visiting a malicious website (or advertisement). An attacker can use this issue to add illegal content to the victims server, or add very large files to the victim's server to exaust the amount of avalible disk space.
|
|
|
|
Contact
|
|
|
|
For feedback or questions about this advisory mail us at sumofpwn at securify.nl
|
|
|
|
The Summer of Pwnage
|
|
|
|
This issue has been found during the Summer of Pwnage hacker event, running from July 1-29. A community summer event in which a large group of security bughunters (worldwide) collaborate in a month of security research on Open Source Software (WordPress this time). For fun. The event is hosted by Securify in Amsterdam.
|
|
|
|
OVE ID
|
|
|
|
OVE-20160718-0004
|
|
|
|
Tested versions
|
|
|
|
These issues were successfully tested on Add From Server WordPress Plugin version 6.2.
|
|
|
|
Fix
|
|
|
|
This issue is resolved in Add From Server version 3.3.2.
|
|
|
|
Introduction
|
|
|
|
The Add From Server WordPress Plugin is a quick plugin, which allows you to import media & files into the WordPress uploads manager from (remote) webservers. It was discovered that Add From Server is vulnerabile to Cross-Site Request Forgery. It can be exploited by luring the target user into clicking a specially crafted link or visiting a malicious website (or advertisement). Because of this,
|
|
the following attack scenario's could be possible:
|
|
|
|
- Adding illegal content to the victim's server.
|
|
- Adding very large files to the victim's server to exaust the amount of avalible disk space.
|
|
|
|
Details
|
|
|
|
When a (media) file is added from the server, the source is not validated. This means that not only files from the localhost can be added, but also from other sources. The affected code is not protected with an anti-Cross-Site Request Forgery token.
|
|
|
|
The function handle_imports() only removes slashes. The vulnerability exists in the file add-from-server/class.add-from-server.php (line 213). Because slashes are removed, the file that will be uploaded must exist in the server root. For example: www.example.com/largefile.txt
|
|
|
|
The host and filename will be set in a separate parameter, so no slashes are needed.
|
|
|
|
Proof of concept
|
|
|
|
POST /wp-admin/upload.php?page=add-from-server HTTP/1.1
|
|
Host: <target>
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
|
|
Connection: close
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
files%5B%5D=largefile.txt&import-date=current&cwd=www.example.com&import=Import |