Vulnerabilities > CVE-2015-2797 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Airties AIR Firmware
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE 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.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 1 | |
Hardware | 12 |
Common Weakness Enumeration (CWE)
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
description Airties Air5650TT - Remote Stack Overflow. Remote exploits for multiple platform file exploits/multiple/remote/36577.py id EDB-ID:36577 last seen 2016-02-04 modified 2015-03-31 platform multiple port published 2015-03-31 reporter Batuhan Burakcin source https://www.exploit-db.com/download/36577/ title Airties Air5650TT - Remote Stack Overflow type remote description Airties login-cgi Buffer Overflow. CVE-2015-2797. Remote exploit for hardware platform file exploits/hardware/remote/37170.rb id EDB-ID:37170 last seen 2016-02-04 modified 2015-06-01 platform hardware port published 2015-06-01 reporter metasploit source https://www.exploit-db.com/download/37170/ title Airties login-cgi Buffer Overflow type remote
Metasploit
description | This 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. |
id | MSF:EXPLOIT/LINUX/HTTP/AIRTIES_LOGIN_CGI_BOF |
last seen | 2020-06-08 |
modified | 2018-07-12 |
published | 2015-04-22 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/linux/http/airties_login_cgi_bof.rb |
title | Airties login-cgi Buffer Overflow |