[UNIX] Happymall E-Commerce Input Validation Flaw Lets Remote Users Execute Arbitrary Commands
From: SecuriTeam (support_at_securiteam.com)
Date: 05/12/03
- Previous message: SecuriTeam: "[NT] eServ Memory Leak Enables Denial of Service Attacks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 12 May 2003 13:22:35 +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
In the US?
Contact Beyond Security at our new California office
housewarming rates on automated network vulnerability
scanning. We also welcome ISPs and other resellers!
Please contact us at: 323-882-8286 or ussales@beyondsecurity.com
- - - - - - - - -
Happymall E-Commerce Input Validation Flaw Lets Remote Users Execute
Arbitrary Commands
------------------------------------------------------------------------
SUMMARY
Revin Aldi reported an input validation vulnerability in the Happymall
e-commerce software. Two scripts allow remote users to execute arbitrary
commands with the privileges of the web server.
DETAILS
Vulnerable systems:
* Happymall E-Commerce versions 4.3, and 4.4
The 'normal_html.cgi' script does not filter user-supplied input before
making an open() call based on that input. A remote user can create a
specially crafted URL to cause the system to execute arbitrary operating
system commands.
A demonstration exploit is provided:
/shop/normal_html.cgi?file=|id|
/shop/normal_html.cgi? file=;id|
The vendor reports that the 'member_html.cgi' script is also affected.
The following is a timeline of events relevant to this vulnerability:
Apr 26, 2003 Reported to SecurityTracker
Apr 27, 2003 Vendor contacted (via English language e-mail, without
response)
Apr 29, 2003 CERTCC-KR initially contacted
May 2, 2003 Details of vulnerability provided to vendor
May 3, 2003 CERTCC-KR Advisory published
Thanks to Revin Aldi for discovering and reporting the flaw, to CERTCC-KR
for coordinating with the vendor, and to the vendor for quickly
responding.
Impact:
A remote user can execute arbitrary shell commands with the privileges of
the target web server.
Solution:
The vendor has issued a patch, available at:
<http://happymall.happycgi.com/forum/forum_detail.cgi?thread=353>
http://happymall.happycgi.com/forum/forum_detail.cgi?thread=353
The vendor has provided the following instructions for applying the patch
to your system:
1. Extract zip file downloaded and you will get two files, member_html.cgi
and normal_html.cgi.
2. Upload those files with ASCII mode to the web server in the directory
containing index.cgi and overwrite.
3. Change the linked address
For example;
Before patch applied :
http://test6.happycgi.com/normal_html.cgi?file=company.html
After patch applied :
http://test6.happycgi.com/normal_html.cgi?file=company
ADDITIONAL INFORMATION
The vulnerability has been discovered by <mailto:reVn@minangCrew.Web.Ma>
Revin Aldi.
========================================
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: "[NT] eServ Memory Leak Enables Denial of Service Attacks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|