PHP Mail Function Header Spoofing Vulnerability
🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2002 [email protected]Type
openvas🔗 plugins.openvas.org👁 35 Views
| Reporter | Title | Published | Views | Family All 35 |
|---|---|---|---|---|
| PHP < 4.2.2 Malformed POST Requests | 20 Aug 200400:00 | – | nessus | |
| PHP < 4.2.3 Mail Function Header Spoofing | 20 Aug 200400:00 | – | nessus | |
| Debian DSA-168-1 : php - bypassing safe_mode, CRLF injection | 29 Sep 200400:00 | – | nessus | |
| Mandrake Linux Security Advisory : php (MDKSA-2003:082-1) | 31 Jul 200400:00 | – | nessus | |
| PHP < 4.2.x mail Function CRLF Injection | 22 Jul 200200:00 | – | nessus | |
| PHP Mail Function Header Spoofing | 23 Mar 200300:00 | – | nessus | |
| RHEL 2.1 : php (RHSA-2002:214) | 6 Jul 200400:00 | – | nessus | |
| SUSE-SA:2002:036: mod_php4 | 25 Jul 200400:00 | – | nessus | |
| CAN-2002-0985 | 6 Aug 202410:50 | – | cve | |
| CAN-2002-0986 | 23 Feb 202418:45 | – | cve |
10
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/bid/5562 |
# SPDX-FileCopyrightText: 2002 [email protected]
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.11444");
script_version("2023-08-03T05:05:16+0000");
script_tag(name:"last_modification", value:"2023-08-03 05:05:16 +0000 (Thu, 03 Aug 2023)");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/5562");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_cve_id("CVE-2002-0985", "CVE-2002-0986");
script_name("PHP Mail Function Header Spoofing Vulnerability");
script_category(ACT_GATHER_INFO);
script_family("Web application abuses");
script_copyright("Copyright (C) 2002 [email protected]");
script_dependencies("gb_get_http_banner.nasl");
script_mandatory_keys("PHP/banner");
script_require_ports("Services/www", 80);
script_tag(name:"solution", value:"Contact your vendor for the latest PHP release.");
script_tag(name:"summary", value:"The remote host is running a version of PHP <= 4.2.2.
The mail() function does not properly sanitize user input.");
script_tag(name:"impact", value:"This allows users to forge email to make it look like it is
coming from a different source other than the server.
Users can exploit this even if SAFE_MODE is enabled.");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("http_func.inc");
include("port_service_func.inc");
port = http_get_port(default:80);
banner = http_get_remote_headers(port:port);
if(!banner || "PHP" >!< banner)
exit(0);
if(egrep(pattern:".*PHP/([0-3]\..*|4\.[01]\..*|4\.2\.[0-2][^0-9])", string:banner)) {
security_message(port:port);
exit(0);
}
exit(99);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
03 Aug 2023 00:00Current
6.5Medium risk
Vulners AI Score6.5
CVSS 27.5
EPSS0.047