[bbDev] infinite loop bug found in latest

chall3ng3r fsd.news at orison.biz
Thu Jul 28 10:29:50 GMT 2005


Hi,

I've just traced it out.

I've installed latest 27-7-05 build. I used TCPViewer to see what exactly
the bowser sent to the server, and what server has replyed.

Here's the dump:
----------------
352: Client connected; 192.168.0.1:3395
352: Connecting to Server
352: Connected to Server
352: Client to Server (594 bytes)
GET /bbpress/forum.php?id=1 HTTP/1.1
Host: jad00:81
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.7)
Gecko/20050414 Firefox/1.0.3
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://jad00/bbpress/
Cookie: bb_user_f1f348ebf7e6886fc1e743a675246401=admin;
bb_pass_f1f348ebf7e6886fc1e743a675246401=fe9e254e596aa5c92e63c31edc44e9f7;
PHPSESSID=5f6d9d871baa504eb50eef034a4db7b9

352: Server to Client (389 bytes, Incomplete last line)
HTTP/1.1 302 Redirect
Content-Length: 158
Content-Type: text/html
Location: http://jad00/bbpress/forum.php?id=1
Server: Microsoft-IIS/6.0
X-Powered-By: PHP/4.3.10
X-Powered-By: ASP.NET
Date: Thu, 28 Jul 2005 10:11:17 GMT

<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a
HREF="http://jad00/bbpress/forum.php?id=1">here</a></body>
352: Client to Server (594 bytes)
GET /bbpress/forum.php?id=1 HTTP/1.1
Host: jad00:81
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.7)
Gecko/20050414 Firefox/1.0.3
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://jad00/bbpress/
Cookie: bb_user_f1f348ebf7e6886fc1e743a675246401=admin;
bb_pass_f1f348ebf7e6886fc1e743a675246401=fe9e254e596aa5c92e63c31edc44e9f7;
PHPSESSID=5f6d9d871baa504eb50eef034a4db7b9

352: Server to Client (389 bytes, Incomplete last line)
HTTP/1.1 302 Redirect
Content-Length: 158
Content-Type: text/html
Location: http://jad00/bbpress/forum.php?id=1
Server: Microsoft-IIS/6.0
X-Powered-By: PHP/4.3.10
X-Powered-By: ASP.NET
Date: Thu, 28 Jul 2005 10:11:17 GMT

<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a
HREF="http://jad00/bbpress/forum.php?id=1">here</a></body>
352: Client to Server (594 bytes)
GET /bbpress/forum.php?id=1 HTTP/1.1
Host: jad00:81
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.7)
Gecko/20050414 Firefox/1.0.3
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://jad00/bbpress/
Cookie: bb_user_f1f348ebf7e6886fc1e743a675246401=admin;
bb_pass_f1f348ebf7e6886fc1e743a675246401=fe9e254e596aa5c92e63c31edc44e9f7;
PHPSESSID=5f6d9d871baa504eb50eef034a4db7b9

352: Server to Client (389 bytes, Incomplete last line)
HTTP/1.1 302 Redirect
Content-Length: 158
Content-Type: text/html
Location: http://jad00/bbpress/forum.php?id=1
Server: Microsoft-IIS/6.0
X-Powered-By: PHP/4.3.10
X-Powered-By: ASP.NET
Date: Thu, 28 Jul 2005 10:11:17 GMT

<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a
HREF="http://jad00/bbpress/forum.php?id=1">here</a></body>
352: Client to Server (594 bytes)
GET /bbpress/forum.php?id=1 HTTP/1.1
Host: jad00:81
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.7)
Gecko/20050414 Firefox/1.0.3
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://jad00/bbpress/
Cookie: bb_user_f1f348ebf7e6886fc1e743a675246401=admin;
bb_pass_f1f348ebf7e6886fc1e743a675246401=fe9e254e596aa5c92e63c31edc44e9f7;
PHPSESSID=5f6d9d871baa504eb50eef034a4db7b9

352: Server to Client (389 bytes, Incomplete last line)
HTTP/1.1 302 Redirect
Content-Length: 158
Content-Type: text/html
Location: http://jad00/bbpress/forum.php?id=1
Server: Microsoft-IIS/6.0
X-Powered-By: PHP/4.3.10
X-Powered-By: ASP.NET
Date: Thu, 28 Jul 2005 10:11:17 GMT

<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a
HREF="http://jad00/bbpress/forum.php?id=1">here</a></body>
352: Client to Server (594 bytes)
GET /bbpress/forum.php?id=1 HTTP/1.1
Host: jad00:81
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.7)
Gecko/20050414 Firefox/1.0.3
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://jad00/bbpress/
Cookie: bb_user_f1f348ebf7e6886fc1e743a675246401=admin;
bb_pass_f1f348ebf7e6886fc1e743a675246401=fe9e254e596aa5c92e63c31edc44e9f7;
PHPSESSID=5f6d9d871baa504eb50eef034a4db7b9
--------------------------------------
--------------------------------------


As you may notice that server is keep redirecting the browser to the same
url. And couasing an infinite loop.

I've only one forum set in the DB, and it don't have any posts.

It is happening bcoz of empty forum?

Btw, im running it on win2k3

Still asking, if someone can share a exported db-sql with recommended data
already filled in.


Tia,

// chall3ng3r //




More information about the bbDev mailing list