Lucene search
+L

Greymatter 1.3 Multiple Vulnerabilities

🗓️ 08 Jan 2005 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 105 Views

Greymatter 1.3 has multiple vulnerabilities including HTML injection and password disclosure risks.

Refs
Code
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#


include('deprecated_nasl_level.inc');
include('compat.inc');

if(description)
{
 script_id(16120);
 script_version("1.22");

 script_bugtraq_id(12189, 12182, 12184);

 script_name(english:"Greymatter 1.3 Multiple Vulnerabilities");

 script_set_attribute(attribute:"synopsis", value:
"The remote host is running a Perl application that is affected by an
HTML injection vulnerability." );
 script_set_attribute(attribute:"description", value:
"The remote host is running Greymatter, a web-based log and journal 
maintenance system implemented in Perl. 

The remote version of this software is vulnerable to an HTML injection
attack due to a lack of filtering on user-supplied input in the file
'gm-comments.cgi'.  An attacker may exploit this flaw to perform a
cross-site scripting attack against the remote host. 

This software may be affected by another HTML injection vulnerability
in the file 'gm-cplog.cgi' and to a password disclosure vulnerability
in the file 'gm-token.cgi'." );
 script_set_attribute(attribute:"see_also", value:"https://seclists.org/fulldisclosure/2005/Jan/312" );
 script_set_attribute(attribute:"solution", value:
"There is no known solution at this time." );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
 script_set_cvss_temporal_vector("CVSS2#E:H/RL:W/RC:ND");
 script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
 script_set_attribute(attribute:"exploit_available", value:"true");
 script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);

 script_set_attribute(attribute:"plugin_publication_date", value: "2005/01/08");
 script_set_attribute(attribute:"vuln_publication_date", value: "2005/01/10");
 
 script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_set_attribute(attribute:"cpe", value:"cpe:/a:greymatter:greymatter");
 script_end_attributes();

 script_summary(english:"Checks for the version of Greymatter");
 script_category(ACT_ATTACK);
 script_copyright(english:"This script is Copyright (C) 2005-2021 Tenable Network Security, Inc.");
 script_family(english:"CGI abuses");
 script_dependencie("http_version.nasl");
 script_require_ports("Services/www", 80);
 script_exclude_keys("Settings/disable_cgi_scanning");
 script_require_keys("www/PHP");
 exit(0);
}

#
# The script code starts here
#

include("global_settings.inc");
include("misc_func.inc");
include("http.inc");

port = get_http_port(default:80);

if(!can_host_php(port:port)) exit(0);

function check(url)
{
local_var req, r;
r = http_send_recv3(method:"GET", item:string(url, "/cgi-bin/gm-comments.cgi"), port:port);
if ( r == NULL ) exit(0);
if ( egrep(pattern:">v[0-1](\.[0-2]([0-9])?(\.[0-9])?)?|(\.3(\.0)?)?(a|b|c|d)?\s*&#183;\s*&copy;(19[0-9][0-9]|200[0-5])-(19[0-9][0-9]|200[0-5])(.*?)Greymatter|Noah\sGrey(.*?)<", string:r[2]))
 {
 security_warning(port);
 set_kb_item(name: 'www/'+port+'/XSS', value: TRUE);
 exit(0);
 }
}

foreach dir (cgi_dirs())
{
 check(url:dir);
}

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

19 Jan 2021 00:00Current
5.4Medium risk
Vulners AI Score5.4
105