# SPDX-FileCopyrightText: 2012 Greenbone AG
# 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.802575");
script_version("2025-12-01T05:45:26+0000");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_tag(name:"last_modification", value:"2025-12-01 05:45:26 +0000 (Mon, 01 Dec 2025)");
script_tag(name:"creation_date", value:"2012-02-01 15:28:20 +0530 (Wed, 01 Feb 2012)");
script_name("Parsp Shopping CMS Multiple Vulnerabilities (Feb 2012) - Active Check");
script_xref(name:"URL", value:"https://packetstorm.news/files/id/108953");
script_xref(name:"URL", value:"https://web.archive.org/web/20120126150336/http://www.exploit-db.com/exploits/18409/");
script_xref(name:"URL", value:"https://cxsecurity.com/issue/WLB-2012010198");
script_xref(name:"URL", value:"https://web.archive.org/web/20120501150021/http://1337day.com/exploits/17418");
# nb: Not really an attack request (just a plain GET to the phpinfo.php file)...
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2012 Greenbone AG");
script_family("Web application abuses");
script_dependencies("find_service.nasl", "no404.nasl", "webmirror.nasl",
"DDI_Directory_Scanner.nasl", "gb_php_http_detect.nasl",
"global_settings.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.
Note: It is currently expected that a result of this VT is reported if the system is generally
exposing a phpinfo() output on the relevant URL / endpoint (independent from the running product).
Exposing such sensitive information is generally seen as a security misconfiguration and should be
avoided.");
script_tag(name:"impact", value:"Successful exploitation will allow attackers to execute arbitrary
web script or HTML in a user's browser session in the context of an affected site and gain
sensitive information related to PHP.");
script_tag(name:"affected", value:"Parsp Shopping CMS version 5 and prior.");
script_tag(name:"insight", value:"The flaws are due to:
- Input passed to the 'advanced_search_in_category' parameter in 'index.php' is not properly
sanitised before being returned to the user.
- Error in 'phpinfo.php' script, this can be exploited to gain knowledge of sensitive information
by requesting the file directly.");
script_tag(name:"solution", value:"No known solution was made available for at least one year
since the disclosure of this vulnerability. Likely none will be provided anymore. General solution
options are to upgrade to a newer release, disable respective features, remove the product or
replace the product by another one.");
script_tag(name:"summary", value:"Parsp Shopping CMS is prone to multiple vulnerabilities.");
script_tag(name:"solution_type", value:"WillNotFix");
script_tag(name:"qod_type", value:"remote_app");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("list_array_func.inc");
port = http_get_port(default:80);
if(!http_can_host_php(port:port))
exit(0);
foreach dir (make_list_unique("/", "/parsp", http_cgi_dirs(port:port))) {
if(dir == "/")
dir = "";
res = http_get_cache(item:dir + "/index.php", port:port);
if(egrep(pattern:">powered by .*>www\.parsp\.com<", string:res)) {
url = dir + "/phpinfo.php";
res = http_get_cache(port:port, item:url);
if(!res || res !~ "^HTTP/1\.[01] 200")
continue;
if(concl = http_check_for_phpinfo_output(data:res)) {
report = http_report_vuln_url(port:port, url:url);
report += '\nConcluded from:\n' + concl;
security_message(port:port, data:report);
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