Waraxe IT Security Portal
Login or Register
June 17, 2025
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 41
Members: 0
Total: 41
Full disclosure
SEC Consult SA-20250604-0 :: Local Privilege Escalation and Default Credentials in INDAMED - MEDICAL OFFICE (Medical practice management) Demo version
Full Disclosure: CVE-2025-31200 & CVE-2025-31201 – 0-Click iMessage Chain ? Secure Enclave Key Theft, Wormable RCE, Crypto Theft
Defense in depth -- the Microsoft way (part 89): user grouppolicies don't deserve tamper protection
CVE-2025-45542: Time-Based Blind SQL Injection in CloudClassroom PHP Project v1.0
ERPNext v15.53.1 Stored XSS in bio Field Allows Arbitrary Script Execution in Profile Page
ERPNext v15.53.1 Stored XSS in user_image Field Allows Script Execution via Injected Image Path
Local information disclosure in apport and systemd-coredump
Stored XSS via File Upload - adaptcmsv3.0.3
IDOR "Change Password" Functionality - adaptcmsv3.0.3
Stored XSS "Send Message" Functionality - adaptcmsv3.0.3
Authenticated File Upload to RCE - adaptcmsv3.0.3
Stored XSS in "Description" Functionality - cubecartv6.5.9
Multiple Vulnerabilities in SAP GuiXT Scripting
CVE-2024-47081: Netrc credential leak in PSF requests library
Exploit CVE-2019-9978: Remote Code Execution in Social Warfare WordPress Plugin (<= 3.5.2)
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PhpBB -> Have mySQL credentials to a forum. What can I do with them?
Post new topicReply to topic View previous topic :: View next topic
Have mySQL credentials to a forum. What can I do with them?
PostPosted: Wed May 26, 2010 5:47 pm Reply with quote
VitoCorleone
Beginner
Beginner
Joined: May 20, 2010
Posts: 3




If a person was to have the database details of a phpBB forum...what could the person do with them?

This is what I know about the target:

phpBB 3.0.5
subsilver2 style
Hosted with InMotionHosting

Code:

<?php
// phpBB 3.0.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'mysql';
$dbhost = 'localhost';
$dbport = '';
$dbname = '*****';
$dbuser = '********';
$dbpasswd = '*******';

$table_prefix = 'phpbb_';
$acm_type = 'file';
$load_extensions = '';

@define('PHPBB_INSTALLED', true);
// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);
?>


Of course I removed the actual details and replace them with asterisks.

Any suggestions at where I might start. I'm looking for vulnerability issues that might allow a person to deface the site.[/code]


Last edited by VitoCorleone on Wed May 26, 2010 6:56 pm; edited 1 time in total
View user's profile Send private message
Coppermine mySQL details too.
PostPosted: Wed May 26, 2010 6:55 pm Reply with quote
VitoCorleone
Beginner
Beginner
Joined: May 20, 2010
Posts: 3




What about Coppermine database details? If a person had those, what could they do? I believe the version is 1.4.25.

I have database credentials in plain text from the config.inc.php file.

Code:
<?php
// Coppermine
define ( 'SILLY_SAFE_MODE' , 1 ) ;

$CONFIG['dbserver'] = 'localhost' ;
$CONFIG['dbuser' ] = '****' ;
$CONFIG['dbpass' ] = '******' ;
$CONFIG['dbname' ] = '******' ;

$CONFIG['TABLE_PREFIX'] = 'cpg_' ;

?>


Code:
/************************* Coppermine Photo Gallery ************************ Copyright (c) 2003-2008 Dev Team v1.1 originally written by Gregory DEMAR This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. ******************************************** Coppermine version: 1.4.25 $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/index.html $ $Revision: 5997 $ $Author: gaugau $ $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $ *******



I ran warex's exploit on them so they upgraded their coppermine version.
http://www.milw0rm.com/exploits/5019
View user's profile Send private message
PostPosted: Wed May 26, 2010 8:29 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




1. you can connect remotely (if possible) or locally to the database engine and do whatever your user privileges allow.
2. in case of mysql root user and/or enabled file privileges it may be possible to read and write files at mysql server. It may lead to successfull shell dropping.
3. password reuse - people tend to use same password in multiple places, so mysql password may lead to email or even VPN account compromise. This is more like social engineering, involving human factor Smile
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Wed May 26, 2010 9:10 pm Reply with quote
VitoCorleone
Beginner
Beginner
Joined: May 20, 2010
Posts: 3




Quote:
1. you can connect remotely (if possible) or locally to the database engine and do whatever your user privileges allow.

I'm pretty sure Remote connection to the database is not possible. I believe I tried to get in that way and it is turned off.
How can I connect locally to the database engine?

Quote:
2. in case of mysql root user and/or enabled file privileges it may be possible to read and write files at mysql server. It may lead to successfull shell dropping.

I'm pretty sure mysql root user is not possible as it is a shared server at inmotionhosting.com

Quote:
3. password reuse - people tend to use same password in multiple places, so mysql password may lead to email or even VPN account compromise. This is more like social engineering, involving human factor

I've tried using the passwords everywhere else. Seems like a dead end.
View user's profile Send private message
Have mySQL credentials to a forum. What can I do with them?
www.waraxe.us Forum Index -> PhpBB
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



PCWizardHub - Helping you fix, build, and optimize your PC life
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.024 Seconds