| Reporter | Title | Published | Views | Family All 99 |
|---|---|---|---|---|
| Medium: perl | 4 Apr 201300:00 | – | amazon | |
| Amazon Linux AMI : perl (ALAS-2013-177) | 4 Sep 201300:00 | – | nessus | |
| CentOS 5 / 6 : perl (CESA-2013:0685) | 27 Mar 201300:00 | – | nessus | |
| Debian DSA-2586-1 : perl - several vulnerabilities | 17 Dec 201200:00 | – | nessus | |
| Debian DSA-2587-1 : libcgi-pm-perl - HTTP header injection | 17 Dec 201200:00 | – | nessus | |
| F5 Networks BIG-IP : Perl vulnerabilities (K15867) | 16 Sep 201500:00 | – | nessus | |
| Fedora 17 : perl-CGI-3.51-7.fc17 (2012-18318) | 29 Nov 201200:00 | – | nessus | |
| Fedora 16 : perl-5.14.3-203.fc16 / perl-CGI-3.52-203.fc16 (2012-18330) | 18 Dec 201200:00 | – | nessus | |
| Fedora 18 : perl-CGI-3.51-10.fc18 (2012-18362) | 26 Nov 201200:00 | – | nessus | |
| Fedora 18 : perl-5.16.2-235.fc18 / perl-CGI-3.59-235.fc18 (2012-19125) | 12 Dec 201200:00 | – | nessus |
| Source | Link |
|---|---|
| xforce | www.xforce.iss.net/xforce/xfdb/80098 |
| cpansearch | www.cpansearch.perl.org/src/MARKSTOS/CGI.pm-3.63/Changes |
| securitytracker | www.securitytracker.com/id |
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_perl_cgipm_module_header_inje_vuln_win.nasl 6074 2017-05-05 09:03:14Z teissa $
#
# Strawberry Perl CGI.pm 'Set-Cookie' and 'P3P' HTTP Header Injection Vulnerability (Windows)
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2013 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################
tag_impact = "Successful exploitation will allow attackers to inject new header items
or modify header items.
Impact Level: Application";
tag_affected = "Strawberry Perl CGI.pm module before 3.63 on Windows";
tag_insight = "The 'CGI.pm' module does not properly filter carriage returns from user
supplied input to be used in Set-Cookie and P3P headers.";
tag_solution = "Upgrade to Strawberry Perl CGI.pm module version 3.63 or later,
For updates refer to http://strawberryperl.com";
tag_summary = "The host is installed with Strawberry Perl and is prone to HTTP
header injection vulnerability.";
if(description)
{
script_id(803160);
script_version("$Revision: 6074 $");
script_cve_id("CVE-2012-5526");
script_bugtraq_id(56562);
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:P/A:N");
script_tag(name:"last_modification", value:"$Date: 2017-05-05 11:03:14 +0200 (Fri, 05 May 2017) $");
script_tag(name:"creation_date", value:"2013-01-23 18:18:09 +0530 (Wed, 23 Jan 2013)");
script_name("Strawberry Perl CGI.pm 'Set-Cookie' and 'P3P' HTTP Header Injection Vulnerability (Windows)");
script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/80098");
script_xref(name : "URL" , value : "http://www.securitytracker.com/id?1027780");
script_xref(name : "URL" , value : "http://cpansearch.perl.org/src/MARKSTOS/CGI.pm-3.63/Changes");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (c) 2013 Greenbone Networks GmbH");
script_family("General");
script_dependencies("gb_perl_detect_win.nasl");
script_mandatory_keys("Strawberry/Perl/Ver", "Strawberry/Perl/Loc");
script_require_ports(139, 445);
script_tag(name : "impact" , value : tag_impact);
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "summary" , value : tag_summary);
script_tag(name:"qod_type", value:"registry");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
#
# Code starts here
#
include("smb_nt.inc");
include("version_func.inc");
include("secpod_smb_func.inc");
## Variable Initialization
spLoc = "";
insPath = "";
txtRead = "";
perVer = "";
## Get Install Location
spLoc = get_kb_item("Strawberry/Perl/Loc");
if(spLoc)
{
## append the CGI module file
insPath = spLoc + "\perl\lib\CGI.PM";
share = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:insPath);
file = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:insPath);
## Read the file CGI.PM
txtRead = read_file(share:share, file:file, offset:0, count:10000);
if("CGI::revision" >< txtRead)
{
## Grep for the CGI.PM module version
perVer = eregmatch(pattern:"CGI::VERSION='([0-9.]+)", string:txtRead);
if(perVer[1])
{
if(version_is_less(version:perVer[1], test_version:"3.63"))
{
security_message(0);
exit(0);
}
}
}
}
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