
1979 changes to exploits/shellcodes Couchdb 1.5.0 - 'uuids' Denial of Service Apache CouchDB 1.5.0 - 'uuids' Denial of Service Beyond Remote 2.2.5.3 - Denial of Service (PoC) udisks2 2.8.0 - Denial of Service (PoC) Termite 3.4 - Denial of Service (PoC) SoftX FTP Client 3.3 - Denial of Service (PoC) Silverstripe 2.3.5 - Cross-Site Request Forgery / Open redirection SilverStripe CMS 2.3.5 - Cross-Site Request Forgery / Open Redirection Silverstripe CMS 3.0.2 - Multiple Vulnerabilities SilverStripe CMS 3.0.2 - Multiple Vulnerabilities Silverstripe CMS 2.4 - File Renaming Security Bypass SilverStripe CMS 2.4 - File Renaming Security Bypass Silverstripe CMS 2.4.5 - Multiple Cross-Site Scripting Vulnerabilities SilverStripe CMS 2.4.5 - Multiple Cross-Site Scripting Vulnerabilities Silverstripe CMS 2.4.7 - 'install.php' PHP Code Injection SilverStripe CMS 2.4.7 - 'install.php' PHP Code Injection Silverstripe Pixlr Image Editor - 'upload.php' Arbitrary File Upload SilverStripe CMS Pixlr Image Editor - 'upload.php' Arbitrary File Upload Silverstripe CMS 2.4.x - 'BackURL' Open Redirection SilverStripe CMS 2.4.x - 'BackURL' Open Redirection Silverstripe CMS - 'MemberLoginForm.php' Information Disclosure SilverStripe CMS - 'MemberLoginForm.php' Information Disclosure Silverstripe CMS - Multiple HTML Injection Vulnerabilities SilverStripe CMS - Multiple HTML Injection Vulnerabilities Apache CouchDB 1.7.0 and 2.x before 2.1.1 - Remote Privilege Escalation Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Remote Privilege Escalation Monstra CMS before 3.0.4 - Cross-Site Scripting Monstra CMS < 3.0.4 - Cross-Site Scripting (2) Monstra CMS < 3.0.4 - Cross-Site Scripting Monstra CMS < 3.0.4 - Cross-Site Scripting (1) Navigate CMS 2.8 - Cross-Site Scripting Collectric CMU 1.0 - 'lang' SQL injection Joomla! Component CW Article Attachments 1.0.6 - 'id' SQL Injection LG SuperSign EZ CMS 2.5 - Remote Code Execution MyBB Visual Editor 1.8.18 - Cross-Site Scripting Joomla! Component AMGallery 1.2.3 - 'filter_category_id' SQL Injection Joomla! Component Micro Deal Factory 2.4.0 - 'id' SQL Injection RICOH Aficio MP 301 Printer - Cross-Site Scripting Joomla! Component Auction Factory 4.5.5 - 'filter_order' SQL Injection RICOH MP C6003 Printer - Cross-Site Scripting Linux/ARM - Egghunter (PWN!) + execve(_/bin/sh__ NULL_ NULL) Shellcode (28 Bytes) Linux/ARM - sigaction() Based Egghunter (PWN!) + execve(_/bin/sh__ NULL_ NULL) Shellcode (52 Bytes)
47 lines
No EOL
2.1 KiB
Text
47 lines
No EOL
2.1 KiB
Text
Source: https://bugs.chromium.org/p/project-zero/issues/detail?id=940
|
|
|
|
The DxgkDdiEscape handler for 0x70001b2 doesn't do proper bounds checks for its
|
|
variable size input.
|
|
|
|
void sub_8C4304(...) {
|
|
...
|
|
// escape_->size is controlled by the user.
|
|
if ( escape_->size < size )
|
|
size = escape_->size;
|
|
memcpy(escape_->data, v31, 28i64 * size);
|
|
...
|
|
}
|
|
|
|
Note that this appears to be a common pattern. Normally, before
|
|
escape handlers are executed, |PrivateDriverDataSize| (from DXGKARG_ESCAPE)
|
|
is checked to be equal to some value against a hardcoded table. However, some escapes
|
|
allow a more relaxed check that |PrivateDriverDataSize| >= minimum. This means that
|
|
the handler themselves must implement an ad hoc bounds check, which either seems to be
|
|
missing or implemented incorrectly (relying on a user specified value) in many cases.
|
|
|
|
bug 936 is a similar issue and there are likely more. I've noticed (but not confirmed)
|
|
a few more OOB reads that I haven't reported that follow this same pattern.
|
|
|
|
Crashing context with PoC (Win 10 x64 with 372.54):
|
|
|
|
PAGE_FAULT_IN_NONPAGED_AREA (50)
|
|
Invalid system memory was referenced. This cannot be protected by try-except.
|
|
Typically the address is just plain bad or it is pointing at freed memory.
|
|
Arguments:
|
|
...
|
|
rax=ffffd000239d51dc rbx=0000000000000000 rcx=fffffffffffffff4
|
|
rdx=fffff000e9e6c754 rsi=0000000000000000 rdi=0000000000000000
|
|
rip=fffff80166d6aca0 rsp=ffffd000239d3df8 rbp=ffffd000239d3f00
|
|
r8=0000000000000924 r9=000000000000003b r10=000000000000e9ef
|
|
r11=ffffd000239d48ac r12=0000000000000000 r13=0000000000000000
|
|
r14=0000000000000000 r15=0000000000000000
|
|
iopl=0 nv up ei ng nz ac pe cy
|
|
nvlddmkm+0x5daca0:
|
|
fffff801`66d6aca0 f30f7f40f0 movdqu xmmword ptr [rax-10h],xmm0 ds:ffffd000`239d51cc=????????????????????????????????
|
|
Resetting default scope
|
|
|
|
To reproduce, compile as an x64 executable an run (requires WDK for D3DKMTEscape).
|
|
|
|
|
|
Proof of Concept:
|
|
https://github.com/offensive-security/exploitdb-bin-sploits/raw/master/bin-sploits/40664.zip |