[NT] XTREME ASP Photo Gallery SQL Injection (adminlogin.asp)
From: SecuriTeam (support_at_securiteam.com)
Date: 01/19/04
- Previous message: SecuriTeam: "[EXPL] Malformed ASN.1 Exploit Code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 19 Jan 2004 12:50:47 +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
- - - - - - - - -
XTREME ASP Photo Gallery SQL Injection (adminlogin.asp)
------------------------------------------------------------------------
SUMMARY
<http://www.pensacolawebdesigns.com/> XTREME ASP Photo Gallery is "a
photo gallery that allows easy photo management and complete
administration via a web based interface. This interface offers many more
features than conventional web based photo gallery's do. With XTREME ASP
Photo Gallery, you can configure everything including colors, text styles,
amount of imaged displayed per page and much more".
Xtreme ASP Photo Gallery is prone to a common SQL injection vulnerability.
The problem occurs when handling user-supplied username and password data
supplied to authentication procedures.
DETAILS
Vulnerable Systems:
* Xtreme ASP Photo Gallery Version 2.0
The vulnerable page adminlogin.asp is located by default in the following
path:
http://[host]/photoalbum/admin/adminlogin.asp
If we type as the username: 'or' and as the password: 'or' we can gain
administrative access to the password protected administrative pages.
Vulnerable Code:
The following lines perform the authentication according to the user
input:
MM_rsUser.Source = "SELECT username, password"
If MM_fldUserAuthorization < > "" Then MM_rsUser.Source = MM_rsUser.Source
& "," & MM_fldUserAuthorization
MM_rsUser.Source = MM_rsUser.Source & " FROM users WHERE username='" &
MM_valUsername &"' AND password='" & CStr(Request.Form("password")) & "'"
The code does not filter dangerous characters such as '. This allows a
malicious user to inject arbitrary SQL commands into the query.
Workaround:
Input from user should never be trusted. Always filter dangerous
characters. For additional information on SQL Injections see:
<http://www.securiteam.com/securityreviews/5DP0N1P76E.html> SQL Injection
Walkthrough.
ADDITIONAL INFORMATION
The information has been provided by <mailto:posidron@tripbit.org>
posidron.
The original article can be found at:
<http://www.tripbit.org/advisories/TA-150104.txt>
http://www.tripbit.org/advisories/TA-150104.txt.
========================================
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: "[EXPL] Malformed ASN.1 Exploit Code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- [UNIX] PHPNuke Multiple Vulnerabilities in Search Module
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... cross-site scripting and
SQL injections located throughout the ... The vulnerability exists in the ... The
first SQL injection vulnerability is a non-critical one in the ... (Securiteam) - [UNIX] Beehive Forum Software SQL Injection 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 ... Beehive Forum Software SQL
Injection Vulnerability ... (Securiteam) - [UNIX] Multiple Vulnerabilities in NukeBookmarks (Full path disclosure, Cross Site Scripting, SQL I
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Cross Site Scripting and
SQL Injection ... Full Path Disclosure Vulnerability: ... (Securiteam) - [UNIX] osCommerce SQL Injection Vulnerability (create_account_process.php)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... vulnerability in the product
allows remote attackers to gain elevated ... * osCommerce version 2.2-MS1, possibly older
versions. ... osCommerce is vulnerable to SQL Injection vulnerability in the ...
(Securiteam) - [NEWS] Coppermine Photo Gallery Multiple XSS
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Most of the parameters that Coppermine
Photo Gallery have are not filtered ... (Securiteam)