Advanced

phpMyAdmin updates patch critical holes

Posted by Scott_Ruecker on · 9 comments
Heise
Mail this story
Print this story

phpMyAdmin Logo The phpMyAdmin developers have released versions 3.3.10.2 and 3.4.3.1 of their database administration tool; these are security updates that fix a total of four security holes. Rated as "highly critical" by Secunia, the vulnerabilities include a session manipulation bug in Swekey authentication that could be exploited to overwrite session variables, a possible code injection hole in the setup script and a regular expression quoting problem in Synchronize code.

Full Story

  Nav
» Read more about: Story Type: News Story

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (9)

Quoting:White explained that it appears the database was accessed by either cracking into or through a vulnerability in phpMyAdmin.
http://ostatic.com/blog/another-linux-project-hacked
All I have to say is - learn 2 security. The lessons that these sites are learning should be learned by all. When I wrote articles discussing the subject they were dismissed as unnecessary - yeah, really unnecessary, right?

If you are hosting and you expose phpMyAdmin (or any other service like it) directly on the internet - you should be fired.
That reminds me: my servers get 2 or 3 batches of requests every day, asking for 20 or 30 variants on phpMyAdmin.php or setup.php

Since I'm not running phpMyAdmin, I see this as an opportunity to muck with whoever runs "ZmEu", the user agent of the tool trying all these requests. What kind of offensive capabilities can a PHP file implement? I can probably "tarpit" ZmEu by rationing the output over a span of several 10s of seconds, but there has to be more.

When I google for phrases like "offensive PHP" or the like, I just get a bunch of rants about how terrible PHP code looks. What's the magic word to get Google to give me PHP's offensive capabilities?
> What's the magic word to get Google to give me PHP's offensive capabilities?

PHP tarpit seems to get a least one useful hit.
Well...if bandwidth isn't an issue...you could fill the file with huge amounts of nothing to generate a very large file to be retrieved....
Like ten megs of /dev/urandom.
I just put "You Failed :)" in an empty html page. The real phpmyadmin is only accessible internally.
I thought about having a file "phpMyAdmin.php" that just gives back a lot of random bytes. I thought of a tarpitting file, that gives back the real "phpMyAdmin.php" (which I don't have installed) one byte ever 5 or so seconds. I thought of giving back HTML that's significantly deformed, trying to break the "ZmEu" HTML parser, if it has one. I thought about giving back HTTP headers with thousands of cookies, or an odd character set, or doing malformed "chunked" responses. I thought about having it do 302 redirects to randomly named PHP files, and using mod_rewrite to map all those URLs back to the 302-redirecting file. I just want someone else to have done all the hard stuff for me.
http://www.theta.tk/wiki/ZmEu/public_source contains the code to the tool. Maybe we can find an exploit to that tool, and make it do fun stuff to the server hosting it (like reboot it).

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post