PHP < 4.2.3 Mail Function Header Spoofing

Medium Nessus Network Monitor Plugin ID 1481

Synopsis

The remote web server is running a version of PHP which is 4.2.2 or older.

Description

The remote web server is running a version of PHP which is 4.2.2 or older. This version has a bug in its mail() function which does not properly sanitize user input. As a result, users can forge email to make it look like it is coming from a different source that the server.

Solution

Upgrade to PHP 4.2.3 or higher.

See Also

http://php.net/ChangeLog-4.php

Plugin Details

Severity: Medium

ID: 1481

File Name: 1481.prm

Family: Web Servers

Published: 2004/08/20

Modified: 2016/01/21

Dependencies: 8728

Nessus ID: 11444

Risk Information

Risk Factor: Medium

CVSSv2

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSSv3

Base Score: 5.3

Temporal Score: 4.6

Vector: CVSS3#AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Temporal Vector: CVSS3#E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:php:php

Patch Publication Date: 2003/07/30

Vulnerability Publication Date: 2003/07/30

Reference Information

CVE: CVE-2002-0986, CVE-2002-0985

BID: 5562