{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"not yet assigned\"}"}}}], "affected": [{"vendor": "debian", "product": "sudo", "versions": [{"status": "affected", "version": "0", "lessThan": "1.8.5p2-1+nmu1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "sudo-ldap", "versions": [{"status": "affected", "version": "0", "lessThan": "1.8.5p2-1+nmu1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2013-2776"}], "descriptions": [{"lang": "en", "value": "sudo 1.3.5 through 1.7.10p5 and 1.8.0 through 1.8.6p6, when running on systems without /proc or the sysctl function with the tty_tickets option enabled, does not properly validate the controlling terminal device, which allows local users with sudo permissions to hijack the authorization of another terminal via vectors related to connecting to the standard input, output, and error file descriptors of another terminal.  NOTE: this is one of three closely-related vulnerabilities that were originally assigned CVE-2013-1776, but they have been SPLIT because of different affected versions."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2013-03-09T00:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 3.6, "accessVector": "LOCAL", "vectorString": "AV:L/AC:L/Au:N/C:P/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"LOW\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "sudo", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.7.2p1-28.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "sudo", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.6p3-12.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:6"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "sudo-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.6p3-12.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:6"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2013-2776.html"}], "descriptions": [{"lang": "en", "value": "sudo 1.3.5 through 1.7.10p5 and 1.8.0 through 1.8.6p6, when running on systems without /proc or the sysctl function with the tty_tickets option enabled, does not properly validate the controlling terminal device, which allows local users with sudo permissions to hijack the authorization of another terminal via vectors related to connecting to a standard input, output, and error file descriptors of another terminal.  NOTE: this is one of three closely-related vulnerabilities that were originally assigned CVE-2013-1776, but they have been SPLIT because of different affected versions."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2013-10-02T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 3.6, "accessVector": "LOCAL", "vectorString": "AV:L/AC:L/Au:N/C:P/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Low\"}"}}}], "affected": [{"vendor": "redhat", "product": "sudo", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.7.2p1-28.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2013:1353"}, {"url": "https://access.redhat.com/security/cve/CVE-2013-2776"}], "descriptions": [{"lang": "en", "value": "The sudo (superuser do) utility allows system administrators to give\ncertain users the ability to run commands as root.\n\nA flaw was found in the way sudo handled time stamp files. An attacker able\nto run code as a local user and with the ability to control the system\nclock could possibly gain additional privileges by running commands that\nthe victim user was allowed to run via sudo, without knowing the victim's\npassword. (CVE-2013-1775)\n\nIt was found that sudo did not properly validate the controlling terminal\ndevice when the tty_tickets option was enabled in the /etc/sudoers file. An\nattacker able to run code as a local user could possibly gain additional\nprivileges by running commands that the victim user was allowed to run via\nsudo, without knowing the victim's password. (CVE-2013-1776, CVE-2013-2776)\n\nThis update also fixes the following bugs:\n\n* Due to a bug in the cycle detection algorithm of the visudo utility,\nvisudo incorrectly evaluated certain alias definitions in the /etc/sudoers\nfile as cycles. Consequently, a warning message about undefined aliases\nappeared. This bug has been fixed, /etc/sudoers is now parsed correctly by\nvisudo and the warning message no longer appears. (BZ#849679)\n\n* Previously, the 'sudo -l' command did not parse the /etc/sudoers file\ncorrectly if it contained an Active Directory (AD) group. The file was\nparsed only up to the first AD group information and then the parsing\nfailed with the following message:\n\n    sudo: unable to cache group ADDOM\\admingroup, already exists\n\nWith this update, the underlying code has been modified and 'sudo -l' now\nparses /etc/sudoers containing AD groups correctly. (BZ#855836)\n\n* Previously, the sudo utility did not escape the backslash characters\ncontained in user names properly. Consequently, if a system used sudo\nintegrated with LDAP or Active Directory (AD) as the primary authentication\nmechanism, users were not able to authenticate on that system. With this\nupdate, sudo has been modified to process LDAP and AD names correctly and\nthe authentication process now works as expected. (BZ#869287)\n\n* Prior to this update, the 'visudo -s (strict)' command incorrectly parsed\ncertain alias definitions. Consequently, an error message was issued. The\nbug has been fixed, and parsing errors no longer occur when using 'visudo\n-s'. (BZ#905624)\n\nAll sudo users are advised to upgrade to this updated package, which\ncontains backported patches to correct these issues."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2013-02-27T00:00:00Z", "x_subShortName": "redhat_5"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 3.6, "accessVector": "LOCAL", "vectorString": "AV:L/AC:L/Au:N/C:P/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Low\"}"}}}], "affected": [{"vendor": "redhat", "product": "sudo", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.6p3-12.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "sudo-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.6p3-12.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2013:1701"}, {"url": "https://access.redhat.com/security/cve/CVE-2013-2776"}], "descriptions": [{"lang": "en", "value": "The sudo (superuser do) utility allows system administrators to give\ncertain users the ability to run commands as root.\n\nA flaw was found in the way sudo handled time stamp files. An attacker able\nto run code as a local user and with the ability to control the system\nclock could possibly gain additional privileges by running commands that\nthe victim user was allowed to run via sudo, without knowing the victim's\npassword. (CVE-2013-1775)\n\nIt was found that sudo did not properly validate the controlling terminal\ndevice when the tty_tickets option was enabled in the /etc/sudoers file.\nAn attacker able to run code as a local user could possibly gain additional\nprivileges by running commands that the victim user was allowed to run via\nsudo, without knowing the victim's password. (CVE-2013-2776, CVE-2013-2777)\n\nThis update also fixes the following bugs:\n\n* Previously, sudo did not support netgroup filtering for sources from the\nSystem Security Services Daemon (SSSD). Consequently, SSSD rules were\napplied to all users even when they did not belong to the specified\nnetgroup. With this update, netgroup filtering for SSSD sources has been\nimplemented. As a result, rules with a netgroup specification are applied\nonly to users that are part of the netgroup. (BZ#880150)\n\n* When the sudo utility set up the environment in which it ran a command,\nit reset the value of the RLIMIT_NPROC resource limit to the parent's value\nof this limit if both the soft (current) and hard (maximum) values of\nRLIMIT_NPROC were not limited. An upstream patch has been provided to\naddress this bug and RLIMIT_NPROC can now be set to \"unlimited\".\n(BZ#947276)\n\n* Due to the refactoring of the sudo code by upstream, the SUDO_USER\nvariable that stores the name of the user running the sudo command was not\nlogged to the /var/log/secure file as before. Consequently, user name\n\"root\" was always recorded instead of the real user name. With this update,\nthe previous behavior of sudo has been restored. As a result, the expected\nuser name is now written to /var/log/secure. (BZ#973228)\n\n* Due to an error in a loop condition in sudo's rule listing code, a buffer\noverflow could have occurred in certain cases. This condition has been\nfixed and the buffer overflow no longer occurs. (BZ#994626)\n\nIn addition, this update adds the following enhancements:\n\n* With this update, sudo has been modified to send debug messages about\nnetgroup matching to the debug log. These messages should provide better\nunderstanding of how sudo matches netgroup database records with values\nfrom the running system and what the values are exactly. (BZ#848111)\n\n* With this update, sudo has been modified to accept the ipa_hostname value\nfrom the /etc/sssd/sssd.conf configuration file when matching netgroups.\n(BZ#853542)\n\nAll sudo users are advised to upgrade to this updated package, which\ncontains backported patches to correct these issues and add\nthese enhancements."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2013-02-27T00:00:00Z", "x_subShortName": "redhat_6"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Low\"}"}}}], "affected": [{"vendor": "suse", "product": "sudo", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.7.6p2-0.2.12.5", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sle_hpc:11:sp1", "cpe:/o:suse:sles:11:sp1", "cpe:/o:suse:sles_sap:11:sp1"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "sudo", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.7.6p2-0.2.12.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp2", "cpe:/o:suse:sles_sap:11:sp2"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "sudo", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.7.6p2-0.17.5", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp3"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "sudo", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.7.6p2-0.23.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp4"], "defaultStatus": "unaffected"}], "solutions": [{"lang": "en", "value": "SUSE bug 806921"}, {"lang": "en", "value": "SUSE bug 817349"}], "references": [{"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-2776", "name": "Mitre CVE-2013-2776"}, {"url": "https://www.suse.com/security/cve/CVE-2013-2776", "name": "SUSE CVE-2013-2776"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2013-May/000452.html", "name": "SUSE-SU-2013:0793-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2013-October/000613.html", "name": "SUSE-SU-2013:1594-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2013-October/000614.html", "name": "SUSE-SU-2013:1595-1"}], "descriptions": [{"lang": "en", "value": "\n    sudo 1.3.5 through 1.7.10p5 and 1.8.0 through 1.8.6p6, when running on systems without /proc or the sysctl function with the tty_tickets option enabled, does not properly validate the controlling terminal device, which allows local users with sudo permissions to hijack the authorization of another terminal via vectors related to connecting to the standard input, output, and error file descriptors of another terminal.  NOTE: this is one of three closely-related vulnerabilities that were originally assigned CVE-2013-1776, but they have been SPLIT because of different affected versions.\n    "}], "providerMetadata": {"orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb", "shortName": "suse", "dateUpdated": "2021-04-30T00:00:00Z", "x_subShortName": "suse_server_11"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Low\"}"}}}], "affected": [{"vendor": "suse", "product": "sudo", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.7.6p2-0.2.12.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sled:11:sp2"], "defaultStatus": "unaffected"}], "solutions": [{"lang": "en", "value": "SUSE bug 806921"}, {"lang": "en", "value": "SUSE bug 817349"}], "references": [{"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-2776", "name": "Mitre CVE-2013-2776"}, {"url": "https://www.suse.com/security/cve/CVE-2013-2776", "name": "SUSE CVE-2013-2776"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2013-May/000452.html", "name": "SUSE-SU-2013:0793-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2013-October/000613.html", "name": "SUSE-SU-2013:1594-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2013-October/000614.html", "name": "SUSE-SU-2013:1595-1"}], "descriptions": [{"lang": "en", "value": "\n    sudo 1.3.5 through 1.7.10p5 and 1.8.0 through 1.8.6p6, when running on systems without /proc or the sysctl function with the tty_tickets option enabled, does not properly validate the controlling terminal device, which allows local users with sudo permissions to hijack the authorization of another terminal via vectors related to connecting to the standard input, output, and error file descriptors of another terminal.  NOTE: this is one of three closely-related vulnerabilities that were originally assigned CVE-2013-1776, but they have been SPLIT because of different affected versions.\n    "}], "providerMetadata": {"orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb", "shortName": "suse", "dateUpdated": "2021-04-30T00:00:00Z", "x_subShortName": "suse_desktop_11"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 3.6, "accessVector": "LOCAL", "vectorString": "AV:L/AC:L/Au:N/C:P/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}], "affected": [{"vendor": "amazon", "product": "sudo", "versions": [{"status": "affected", "version": "0", "lessThan": "1.8.6p3-12.17.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}, {"vendor": "amazon", "product": "sudo-debuginfo", "versions": [{"status": "affected", "version": "0", "lessThan": "1.8.6p3-12.17.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}, {"vendor": "amazon", "product": "sudo-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "1.8.6p3-12.17.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-2776"}], "descriptions": [{"lang": "en", "value": "It was found that sudo did not properly validate the controlling terminal device when the tty_tickets option was enabled in the /etc/sudoers file. An attacker able to run code as a local user could possibly gain additional privileges by running commands that the victim user was allowed to run via sudo, without knowing the victim's password."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000000", "shortName": "alas", "dateUpdated": "2013-12-11T20:34:00Z", "x_subShortName": "alas_1"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.4, "accessVector": "LOCAL", "vectorString": "AV:L/AC:M/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*"], "vendor": "apple", "product": "mac_os_x", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "10.10.4"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://www.sudo.ws/repos/sudo/rev/049a12a5cc14", "tags": ["vendor-advisory"]}, {"url": "http://www.sudo.ws/repos/sudo/rev/0c0283d1fafa", "tags": ["vendor-advisory"]}, {"url": "https://support.apple.com/kb/HT205031", "tags": ["vendor-advisory"]}, {"url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701839"}, {"url": "http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html"}, {"url": "http://rhn.redhat.com/errata/RHSA-2013-1353.html"}, {"url": "http://rhn.redhat.com/errata/RHSA-2013-1701.html"}, {"url": "http://www.debian.org/security/2013/dsa-2642"}, {"url": "http://www.openwall.com/lists/oss-security/2013/02/27/31"}, {"url": "http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html"}, {"url": "http://www.securityfocus.com/bid/58207"}, {"url": "http://www.securityfocus.com/bid/62741"}, {"url": "http://www.slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.517440"}, {"url": "http://www.sudo.ws/sudo/alerts/tty_tickets.html"}, {"url": "https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/87023"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=916365"}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/82453"}], "descriptions": [{"lang": "en", "value": "sudo 1.3.5 through 1.7.10p5 and 1.8.0 through 1.8.6p6, when running on systems without /proc or the sysctl function with the tty_tickets option enabled, does not properly validate the controlling terminal device, which allows local users with sudo permissions to hijack the authorization of another terminal via vectors related to connecting to the standard input, output, and error file descriptors of another terminal.  NOTE: this is one of three closely-related vulnerabilities that were originally assigned CVE-2013-1776, but they have been SPLIT because of different affected versions."}, {"lang": "es", "value": "sudo v1.3.5 hasta v1.7.10p5 y v1.8.0 hasta  v1.8.6p6, cuando se ejecuta en sistemas sin /proc o la función sysctl con la opción tty_tickets habilitada, no valida correctamente el control de dispositivo terminal, lo que permite a los usuarios locales con permisos de sudo para secuestrar a la autorización de otra terminal a través de vectores relacionados con una sesión sin un dispositivo terminal de control y la conexión a una entrada estándar, salida, y descriptores de error de archivo de otros terminal. NOTA: esta es una de las tres vulnerabilidades estrechamente relacionadas con las que se asignó originalmente a CVE-2013-1776, pero se han dividido debido a las diferentes versiones afectadas."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-264", "description": "CWE-264"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2013-04-08T17:55:01Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2013-2776", "state": "PUBLISHED", "dateUpdated": "2025-04-11T00:51:21Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2013-04-08T17:55:01Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}