{"id":29693,"date":"2019-10-14T21:14:36","date_gmt":"2019-10-14T21:14:36","guid":{"rendered":"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/"},"modified":"2019-10-14T21:14:36","modified_gmt":"2019-10-14T21:14:36","slug":"sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard","status":"publish","type":"post","link":"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/","title":{"rendered":"Sudo? More like Su-doh: There&#8217;s a fun bug that gives restricted sudoers root access (if your config is non-standard)"},"content":{"rendered":"<div><img decoding=\"async\" src=\"https:\/\/regmedia.co.uk\/2019\/10\/14\/shutterstock_linux.jpg\" class=\"ff-og-image-inserted\"><\/div>\n<p>It&#8217;s only Monday, and we already have a contender for the bug of the week.<\/p>\n<p>Linux users who are able to run commands as other users, via the sudoer mechanism, though not as the all-powerful root user, can still run commands as root, thanks to a fascinating coding screw-up.<\/p>\n<p>This security vulnerability, <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/www.sudo.ws\/alerts\/minus_1_uid.html\">assigned CVE-2019-14287<\/a>, is more interesting than scary: it requires a system to have a non-standard configuration. In other words, Linux computers are not vulnerable by default.<\/p>\n<p>However, if you&#8217;ve set up Sudo in a rather imaginative way \u2013 letting users run commands as others except root \u2013 then you will probably will want to pay attention. Because your users can bypass that non-root restriction using <code>-u#-1<\/code> on the command line.<\/p>\n<p>The best way to describe the problem is to use an example. Let&#8217;s say you&#8217;ve set up the user bob as a sudoer on the server mybox so that they can run the text editor Vi as any user except root. You might trust bob to oversee the files and activities of other users, but they&#8217;re not allowed any superuser access.<\/p>\n<p>Your sudoers file would have the line:<\/p>\n<pre class=\"wrap_text\">\nmybox bob = (ALL, !root) \/usr\/bin\/vi\n<\/pre>\n<p>That should allow bob to run Vi as anyone but root. However, if bob runs this command:<\/p>\n<pre class=\"wrap_text\">\nsudo -u#-1 vi\n<\/pre>\n<p>That <code>-u#-1<\/code> will bypass the above restriction, and run Vi as root for bob. Now bob can change any file on the system. Oops.<\/p>\n<p>This happens because, say, <code>-u#1234<\/code> can be used on the command line with Sudo to run the command, Vi in this case, as user ID 1234. This user ID value is passed to the <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/linux.die.net\/man\/2\/setresuid\">setresuid<\/a> and <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/linux.die.net\/man\/2\/setreuid\">setreuid<\/a> system calls by Sudo to change the effective user ID of the command.<\/p>\n<p>Thus, <code>-u#-1<\/code> passes -1 to those calls to change the effective ID to -1. However, these system calls treat -1 as a special case: it means do not change the user ID. And seeing as Sudo runs as root initially, -1 means continue running as root. So, in the above case, Vi runs as root. Also, amusingly, the user ID 4294967295 will bypass the restrictions because, as a signed 32-bit integer, it equals -1.<\/p>\n<p>This programming gaffe was found and reported by Joe Vennix of Apple security, and fixed today in Sudo 1.8.28. Update your Linux systems as normal to pick up the patch: a fix was already available for your vulture&#8217;s preferred distro \u2013 Debian, naturally \u2013 while writing this piece.<\/p>\n<p>If you&#8217;re interested, to plug the security hole, Sudo was <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/www.sudo.ws\/repos\/sudo\/rev\/83db8dba09e7\">tweaked<\/a> to block -1 as a user ID. \u00ae<\/p>\n<p class=\"wptl btm\"><span>Sponsored:<\/span> <a href=\"https:\/\/go.theregister.co.uk\/tl\/1858\/-7801\/your-guide-to-becoming-truly-data-driven-with-unrivalled-data-analytics-performance?td=wptl1858\">Your Guide to Becoming Truly Data-Driven with Unrivalled Data Analytics Performance<\/a><\/p>\n<p>READ MORE <a href=\"http:\/\/go.theregister.com\/feed\/www.theregister.co.uk\/2019\/10\/14\/linux_sudo_security_bug\/\">HERE<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>All it takes is -u#-1 &#8230; Wh%&amp; t#e fsck*? It&#8217;s only Monday, and we already have a contender for the bug of the week.\u2026 READ MORE HERE&#8230;<\/p>\n","protected":false},"author":2,"featured_media":29694,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_layout":"default_layout","footnotes":""},"categories":[63],"tags":[],"class_list":["post-29693","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-the-register"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Sudo? More like Su-doh: There&#039;s a fun bug that gives restricted sudoers root access (if your config is non-standard) 2026 | ThreatsHub Cybersecurity News<\/title>\n<meta name=\"description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sudo? More like Su-doh: There&#039;s a fun bug that gives restricted sudoers root access (if your config is non-standard) 2026 | ThreatsHub Cybersecurity News\" \/>\n<meta property=\"og:description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/\" \/>\n<meta property=\"og:site_name\" content=\"ThreatsHub Cybersecurity News\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-14T21:14:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2019\/10\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"563\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TH Author\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@threatshub\" \/>\n<meta name=\"twitter:site\" content=\"@threatshub\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TH Author\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\\\/\"},\"author\":{\"name\":\"TH Author\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\"},\"headline\":\"Sudo? More like Su-doh: There&#8217;s a fun bug that gives restricted sudoers root access (if your config is non-standard)\",\"datePublished\":\"2019-10-14T21:14:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\\\/\"},\"wordCount\":453,\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard.jpg\",\"articleSection\":[\"The Register\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\\\/\",\"name\":\"Sudo? More like Su-doh: There's a fun bug that gives restricted sudoers root access (if your config is non-standard) 2026 | ThreatsHub Cybersecurity News\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard.jpg\",\"datePublished\":\"2019-10-14T21:14:36+00:00\",\"description\":\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard.jpg\",\"contentUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard.jpg\",\"width\":1000,\"height\":563},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sudo? More like Su-doh: There&#8217;s a fun bug that gives restricted sudoers root access (if your config is non-standard)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"name\":\"ThreatsHub Cybersecurity News\",\"description\":\"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"alternateName\":\"Threatshub.org\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\",\"name\":\"ThreatsHub.org\",\"alternateName\":\"Threatshub.org\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"width\":432,\"height\":435,\"caption\":\"ThreatsHub.org\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/threatshub\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\",\"name\":\"TH Author\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"caption\":\"TH Author\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Sudo? More like Su-doh: There's a fun bug that gives restricted sudoers root access (if your config is non-standard) 2026 | ThreatsHub Cybersecurity News","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/","og_locale":"en_US","og_type":"article","og_title":"Sudo? More like Su-doh: There's a fun bug that gives restricted sudoers root access (if your config is non-standard) 2026 | ThreatsHub Cybersecurity News","og_description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","og_url":"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/","og_site_name":"ThreatsHub Cybersecurity News","article_published_time":"2019-10-14T21:14:36+00:00","og_image":[{"width":1000,"height":563,"url":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2019\/10\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard.jpg","type":"image\/jpeg"}],"author":"TH Author","twitter_card":"summary_large_image","twitter_creator":"@threatshub","twitter_site":"@threatshub","twitter_misc":{"Written by":"TH Author","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/#article","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/"},"author":{"name":"TH Author","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476"},"headline":"Sudo? More like Su-doh: There&#8217;s a fun bug that gives restricted sudoers root access (if your config is non-standard)","datePublished":"2019-10-14T21:14:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/"},"wordCount":453,"publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2019\/10\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard.jpg","articleSection":["The Register"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/","url":"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/","name":"Sudo? More like Su-doh: There's a fun bug that gives restricted sudoers root access (if your config is non-standard) 2026 | ThreatsHub Cybersecurity News","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/#primaryimage"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2019\/10\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard.jpg","datePublished":"2019-10-14T21:14:36+00:00","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","breadcrumb":{"@id":"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/#primaryimage","url":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2019\/10\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard.jpg","contentUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2019\/10\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard.jpg","width":1000,"height":563},{"@type":"BreadcrumbList","@id":"https:\/\/www.threatshub.org\/blog\/sudo-more-like-su-doh-theres-a-fun-bug-that-gives-restricted-sudoers-root-access-if-your-config-is-non-standard\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.threatshub.org\/blog\/"},{"@type":"ListItem","position":2,"name":"Sudo? More like Su-doh: There&#8217;s a fun bug that gives restricted sudoers root access (if your config is non-standard)"}]},{"@type":"WebSite","@id":"https:\/\/www.threatshub.org\/blog\/#website","url":"https:\/\/www.threatshub.org\/blog\/","name":"ThreatsHub Cybersecurity News","description":"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform","publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"alternateName":"Threatshub.org","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.threatshub.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.threatshub.org\/blog\/#organization","name":"ThreatsHub.org","alternateName":"Threatshub.org","url":"https:\/\/www.threatshub.org\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","contentUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","width":432,"height":435,"caption":"ThreatsHub.org"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/threatshub"]},{"@type":"Person","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476","name":"TH Author","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","caption":"TH Author"}}]}},"_links":{"self":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/29693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/comments?post=29693"}],"version-history":[{"count":0,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/29693\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/media\/29694"}],"wp:attachment":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/media?parent=29693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/categories?post=29693"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/tags?post=29693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}