|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Security Alert: phpbb flaw
This showed up on Mr. Mitnicks RSS feed and I thought it applied here.
http://www.securitytracker.com/alerts/2004/Mar/1009563.html It allows you to inject sql via the private messaging feature. NO workaround has been found.....BUT I found a way to keep it from happening until a fix has been implemented. If you disable private messaging, it cuts off the ability to use that page, and returns a "Private Messaging has been disabled on this board" message. Just thought ya'll running PHPBB should know.... |
|
#2
|
||||||||
|
||||||||
|
RE: Security Alert: phpbb flaw
Here is the fix:
find this part of the code in the privmsg.php file: php Code:
the $pm_sql_user .= is the offending code that is allowing the attack. Replace it with this: php Code:
Thanks to Janek Vind for finding this exploit. |
|
#3
|
|||
|
|||
|
RE: Security Alert: phpbb flaw
Thanks Nawlej,
They had this fixed in 2.0.7, guess they forgot to fix in the new release. |
|
#4
|
||||
|
||||
|
RE: Security Alert: phpbb flaw
|
|
#5
|
|||
|
|||
|
RE: Security Alert: phpbb flaw
no, the way it was set up: $pm_sql_user .=
Would allow you to append sql via te input boxes in the private message form. |
|
#6
|
||||
|
||||
|
RE: Security Alert: phpbb flaw
scary..... i tried appending a query to promote a user called Guest to Administrator and it didnt work so i must have installed the patch.
|
|
#7
|
|||
|
|||
|
RE: Security Alert: phpbb flaw
It all depends, what version of the BB are you using? Its fixed in .07 BUT, is a problem in .08
|
![]() |
| Viewing: Codewalkers Forums > General > General Chat > Security Alert: phpbb flaw |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|