
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)
147 lines
No EOL
4.4 KiB
Text
147 lines
No EOL
4.4 KiB
Text
#######################################################################
|
|
|
|
Luigi Auriemma
|
|
|
|
Application: ASG-Sentry
|
|
http://www.asg-sentry.com
|
|
Versions: <= 7.0.0
|
|
Platforms: Windows and Unix
|
|
Bugs: A] arbitrary files deleting
|
|
B] heap-overflow in FxAgent
|
|
C] termination of FxIAList
|
|
D] buffer-overflow in FxIAList
|
|
Exploitation: remote
|
|
Date: 10 Mar 2008
|
|
Author: Luigi Auriemma
|
|
e-mail: aluigi@autistici.org
|
|
web: aluigi.org
|
|
|
|
|
|
#######################################################################
|
|
|
|
|
|
1) Introduction
|
|
2) Bugs
|
|
3) The Code
|
|
4) Fix
|
|
|
|
|
|
#######################################################################
|
|
|
|
===============
|
|
1) Introduction
|
|
===============
|
|
|
|
|
|
>From vendor's website:
|
|
"The ASG-Sentry family of products is a suite of tools strategically
|
|
engineered to control, monitor, manage, and enhance your network.
|
|
Sentry's tools provide you with full visibility to your network from
|
|
any Web browser. Sentry also allows you to fully instrument your
|
|
company's applications, CPUs, disk space, memory, files, Windows and
|
|
UNIX platforms, and more."
|
|
|
|
|
|
#######################################################################
|
|
|
|
=======
|
|
2) Bugs
|
|
=======
|
|
|
|
---------------------------
|
|
A] arbitrary files deleting
|
|
---------------------------
|
|
|
|
The fcheck.exe (File Check Utility) CGI available in ASG is used for
|
|
handling some index files which contain a list of filenames and
|
|
checksums.
|
|
|
|
The -b option of this utility allows the creation of these index files
|
|
and is possible to specify both the name of the output file and,
|
|
optionally, the folder which will be scanned recursively for finding
|
|
and reading the various files to add to the list.
|
|
|
|
The first vulnerability is in the possibility for an external attacker
|
|
to use this CGI for overwriting existent files with no data (specifying
|
|
a new folder which will be created by the same program) or with the
|
|
list of filenames described before.
|
|
Naturally is possible to specify both files on the local disks or on
|
|
network shares.
|
|
|
|
The second effect instead is the possibility of occupying CPU and disk
|
|
for the scanning of any file in the disk simply specyfing, for example,
|
|
c:\ as folder.
|
|
|
|
|
|
---------------------------
|
|
B] heap-overflow in FxAgent
|
|
---------------------------
|
|
|
|
The FxAgent process running on UDP port 6161 is used for handling the
|
|
various SNMP requests.
|
|
A community field longer than 64 bytes can be used by an attacker to
|
|
exploit a heap-overflow.
|
|
|
|
|
|
--------------------------
|
|
C] termination of FxIAList
|
|
--------------------------
|
|
|
|
FxIAList is a service which runs on the TCP port 6162 and is used for
|
|
the logging operations which include the commands "exit", "trace on"
|
|
"verbose", "trace off" and the name of the log file to create
|
|
(xxxx.xx.xx) and its content.
|
|
The main problem is that the server doesn't require authentication so
|
|
anyone can send the "exit" command and the service will just terminate.
|
|
|
|
|
|
------------------------------
|
|
D] buffer-overflow in FxIAList
|
|
------------------------------
|
|
|
|
The same service described before is affected also by a stack based
|
|
buffer-overflow which happens during the copying of the data we want
|
|
to write to the log file (max 1023 bytes) in a buffer of only 500.
|
|
|
|
|
|
#######################################################################
|
|
|
|
===========
|
|
3) The Code
|
|
===========
|
|
|
|
|
|
http://aluigi.org/poc/asgulo.zip
|
|
https://github.com/offensive-security/exploitdb-bin-sploits/raw/master/bin-sploits/5229.zip (2008-asgulo.zip)
|
|
|
|
A]
|
|
http://SERVER:6161/snmx-cgi/fcheck.exe?-b+..\../..\boot.ini
|
|
http://SERVER:6161/snmx-cgi/fcheck.exe?-b+c:\windows\win.ini
|
|
http://SERVER:6161/snmx-cgi/fcheck.exe?-b+c:\file.txt+c:\
|
|
http://SERVER:6161/snmx-cgi/fcheck.exe?-b+\host\document.txt
|
|
this link for the network share is correct because Apache converts
|
|
any backslash to double so that one becomes \\host\\document.txt
|
|
|
|
B]
|
|
nc SERVER 6161 -v -v -u < asgulo_fxagent.txt
|
|
|
|
C]
|
|
nc SERVER 6162 -v -v -w 1 < asgulo-ialist1.txt
|
|
|
|
D]
|
|
nc SERVER 6162 -v -v -w 1 < asgulo-ialist2.txt
|
|
|
|
|
|
#######################################################################
|
|
|
|
======
|
|
4) Fix
|
|
======
|
|
|
|
|
|
No fix
|
|
|
|
|
|
#######################################################################
|
|
|
|
# milw0rm.com [2008-03-10] |