Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2002
Posts: 218
Enthusiast
Enthusiast
Offline
Joined: Jan 2002
Posts: 218
Issued on: July 22, 2002
Software: PHP versions 4.2.0 and 4.2.1
Platforms: All

The PHP Group has learned of a serious security vulnerability in PHP versions 4.2.0 and 4.2.1. An intruder may be able to execute arbitrary code with the privileges of the web server. This vulnerability may be exploited to compromise the web server and, under certain conditions, to gain privileged access.

Description
PHP contains code for intelligently parsing the headers of HTTP POST requests. The code is used to differentiate between variables and files sent by the user agent in a "multipart/form-data" request. This parser has insufficient input checking, leading to the vulnerability.

The vulnerability is exploitable by anyone who can send HTTP POST requests to an affected web server. Both local and remote users, even from behind firewalls, may be able to gain privileged access.

Impact
Both local and remote users may exploit this vulnerability to compromise the web server and, under certain conditions, to gain privileged access. So far only the IA32 platform has been verified to be safe from the execution of arbitrary code. The vulnerability can still be used on IA32 to crash PHP and, in most cases, the web server.

Read more at: http://www.php.net/release_4_2_2.php

Sponsored Links
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
This is one of the reasons to use the referer check. (will lesson the chance of things being posted from off site getting anywhere)

Thanks for the heads up.

Joined: Jan 2002
Posts: 218
Enthusiast
Enthusiast
Offline
Joined: Jan 2002
Posts: 218
In regards to the referrer check, what about members who may be behind a firewall? I know that I've had trouble in the past with some members not being able to post when I had that enabled. Is there something that I can tell the affected members to do, so that I can re-enable the referrer check?

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Figures. I just did a new compile of PHP 4.2.1 (and had loads of trouble with it not installing correctly, for some reason make install didn't install...). I checked the site for a new version before I compiled, when I was finished I looked here and saw this. The Swedish mirror hadn't been updated with it so I didn't see it. =/

I think this must have happened every time I compile something, so if you want a new version of a program, just tell me to compile it and a release should be out soon. =P

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
If I want it to rain will you wash your car?

Sponsored Links
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
posted by JustDave:
This is one of the reasons to use the referer check. (will lesson the chance of things being posted from off site getting anywhere)

Thanks for the heads up.


But a hacker could still send you a header that exploits the vulnerability while using your forum. The referer check is great for keeping a board from being spammed by packets coming from another site, but it won't stop a hacker who has compromised another sever before going to your forum (a common technique used to make it difficult for you to track down the source of an attack).

I agree that the referer check makes it a little more difficult to "attack" a board, but it's like a lock: It just keeps the honest people out...

If someone figures out a way to spoof the referer section of an HTTP get request then the referer check would be completely mute...

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
I'm sorry, I don't have a car. Besides, I think rain only works locally, it won't rain all over the globe.

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
posted by Gardener:
I'm sorry, I don't have a car. Besides, I think rain only works locally, it won't rain all over the globe.


Darn...

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
I would think that most popular firewalls have the referer blocking as an option. It's a matter of getting the the user to turn the option off and that's not always an easy task. LoL

I use ZoneAlarm myself and it does not have referer blocking. (that I can find)


Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
posted by JustDave:
I would think that most popular firewalls have the referer blocking as an option. It's a matter of getting the the user to turn the option off and that's not always an easy task. LoL

I use ZoneAlarm myself and it does not have referer blocking. (that I can find)




The Pro version of Zone Alarm does do referer checking, but they call it "Privacy". Unfortunately they don't explain what it is, so I get a few complaints from people who have it enabled and they can't post on the board. Same for Norton's firewall package... *sigh* If they would only explain what the're doing instead of providing "security through obscurity"

Last edited by Dalantech; 07/24/2002 4:00 AM.
Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)