SecurityContext

CVE-2019-15901: slicer69 doas - Privilege Escalation

  • Cve: CVE-2019-15901
  • Name: slicer69 doas - Privilege Escalation
  • Description: An issue was discovered in slicer69 doas before 6.2 on certain platforms other than OpenBSD. A setusercontext(3) call with flags to change the UID, primary GID, and secondary GIDs was replaced (on certain platforms: Linux and possibly NetBSD) with a single setuid(2) call. This resulted in neither changing the group id nor initializing secondary group ids.
  • Impact: Attackers can escalate privileges due to incomplete user context initialization, potentially leading to full system compromise.
  • Remediation: Update to version 6.2 or later to ensure proper user context handling.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02218
  • Epss percentile: 0.8311
  • Assignee: [email protected]
  • Published at: 2019-10-18T16:15:10Z
  • Age in days: 2594
  • Modified at: 2026-06-17T02:21:17Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-15901
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-269Improper Privilege Management

Public exploits

UrlSourceAdded date
https://github.com/slicer69/doas/pull/23nvd2019-10-18

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/slicer69/doas/commit/6cf0236184ff6304bf5e267ccf7ef02874069697Patch, Third Party Advisory
https://github.com/slicer69/doas/compare/6.1p1...6.2Patch, Release Notes, Third Party Advisory
https://github.com/slicer69/doas/pull/23Exploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
doas_project:doas< 6.2yesnvd/v1/products/doas_project/doas

Projects

RepositoryLink kindsIndexedUrl
slicer69/doascommit, compare, fix, pullyes/v1/repositories/slicer69/doas

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2019-10-18
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts