[UNIX] Community Link Pro Command Execution (login.cgi)
From: SecuriTeam (support_at_securiteam.com)
Date: 11/10/05
- Previous message: SecuriTeam: "[NEWS] Apple QuickTime Multiple Vulnerabilities (PICT, Integer Overflow, DoS)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 10 Nov 2005 14:50:27 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
Community Link Pro Command Execution (login.cgi)
------------------------------------------------------------------------
SUMMARY
Login.cgi is "a login script written in Perl by Community Link Pro Web
Editor that allows to a remote user to login in his own personal page".
Community Link Pro Web Editor has been found to be vulnerable to remote
code execution due lack of sanitation of 'file' parameter.
DETAILS
Vulnerable Code:
open(FILE2,"$memberspath/$FORM{'username'}/$FORM{'file'}");
foreach (<FILE2>) {
print;
}
close(FILE2);
The above code doesn't properly open the file for reading, this allows a
remote attacker to cause the program to open commands which it will
execute. The vulnerability can be exploited by simply passing commands as
the $file parameter, for example:
login.cgi?username=&command=simple&do=edit&password=&file=|COMMAND|.
Proof of concept:
http://www.hostvuln.net/app/webeditor/login.cgi?username=&
command=simple&do=edit&password=&file=|uname -a; id|
Exploit:
<http://www.badroot.org/exploits/clogin.pl>
http://www.badroot.org/exploits/clogin.pl
ADDITIONAL INFORMATION
The information has been provided by <mailto:mozako@mybox.it> mozako.
The original article can be found at:
<http://www.badroot.org/advisories/SA0x05>
http://www.badroot.org/advisories/SA0x05
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: SecuriTeam: "[NEWS] Apple QuickTime Multiple Vulnerabilities (PICT, Integer Overflow, DoS)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- [EXPL] Windows RRAS Stack Overflow (Exploit, MS06-025)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... There is a remote code execution
vulnerability in the Routing and Remote ... Microsoft Windows XP Service Pack 1 and
Microsoft Windows XP Service ... (Securiteam) - [UNIX] Exim auth_spa_server() Buffer Overflow Vulnerability
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Exim 4.41 allows execution
of arbitrary commands with elevated privileges. ... user-controlled and passed to the program
from a remote connection. ... Exploitation of this vulnerability will give an attacker
remote access to ... (Securiteam) - [NEWS] Checkpoint VPN-1/SecureClient ISAKMP Buffer Overflow
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... "Checkpoint VPN-1 server
and Checkpoint VPN clients ... networks for remote client computers. ... There is
no effective workaround for this vulnerability. ... (Securiteam) - [NEWS] Adobe SVG Viewer Local and Remote File Reading
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... "Adobe SVG Viewer 3.0 is
available in 15 languages and many ... A vulnerability in Adobe's SVG allows remote
attackers to read locally ... (Securiteam) - [UNIX] Trend Micro VirusWall Buffer Overflow in VSAPI Library
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... buffer overflow vulnerability
in VSAPI library allows arbitrary code ... is called "vscan" which is set suid root by
default. ... permissions and thus granted all local users the privilege to execute the
... (Securiteam)