[UNIX] Happymall E-Commerce Input Validation Flaw Lets Remote Users Execute Arbitrary Commands
From: SecuriTeam (support_at_securiteam.com)
To: firstname.lastname@example.org 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 email@example.com
- - - - - - - - -
Happymall E-Commerce Input Validation Flaw Lets Remote Users Execute
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.
* 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
A demonstration exploit is provided:
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
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
A remote user can execute arbitrary shell commands with the privileges of
the target web server.
The vendor has issued a patch, available at:
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
2. Upload those files with ASCII mode to the web server in the directory
containing index.cgi and overwrite.
3. Change the linked address
Before patch applied :
After patch applied :
The vulnerability has been discovered by <mailto:reVn@minangCrew.Web.Ma>
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: firstname.lastname@example.org
In order to subscribe to the mailing list, simply forward this email to: email@example.com
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.