Vulnerabilities > CVE-2015-2797 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Airties AIR Firmware

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
airties
CWE-119
critical
exploit available
metasploit

Summary

Stack-based buffer overflow in AirTies Air 6372, 5760, 5750, 5650TT, 5453, 5444TT, 5443, 5442, 5343, 5342, 5341, and 5021 DSL modems with firmware 1.0.2.0 and earlier allows remote attackers to execute arbitrary code via a long string in the redirect parameter to cgi-bin/login.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

  • descriptionAirties Air5650TT - Remote Stack Overflow. Remote exploits for multiple platform
    fileexploits/multiple/remote/36577.py
    idEDB-ID:36577
    last seen2016-02-04
    modified2015-03-31
    platformmultiple
    port
    published2015-03-31
    reporterBatuhan Burakcin
    sourcehttps://www.exploit-db.com/download/36577/
    titleAirties Air5650TT - Remote Stack Overflow
    typeremote
  • descriptionAirties login-cgi Buffer Overflow. CVE-2015-2797. Remote exploit for hardware platform
    fileexploits/hardware/remote/37170.rb
    idEDB-ID:37170
    last seen2016-02-04
    modified2015-06-01
    platformhardware
    port
    published2015-06-01
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/37170/
    titleAirties login-cgi Buffer Overflow
    typeremote

Metasploit

descriptionThis module exploits a remote buffer overflow vulnerability on several Airties routers. The vulnerability exists in the handling of HTTP queries to the login cgi with long redirect parameters. The vulnerability doesn't require authentication. This module has been tested successfully on the AirTies_Air5650v3TT_FW_1.0.2.0.bin firmware with emulation. Other versions such as the Air6372, Air5760, Air5750, Air5650TT, Air5453, Air5444TT, Air5443, Air5442, Air5343, Air5342, Air5341, Air5021 are also reported as vulnerable.
idMSF:EXPLOIT/LINUX/HTTP/AIRTIES_LOGIN_CGI_BOF
last seen2020-06-08
modified2018-07-12
published2015-04-22
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/linux/http/airties_login_cgi_bof.rb
titleAirties login-cgi Buffer Overflow