CVE-2013-2207
NoneCVSS
—
EPSS
0.4%
Published
Oct 9, 2013
CISA due date
—
Cloudanix analysis
A very old local flaw in a core system library could let someone who already has access to a machine tamper with terminal sessions, but the risk is extremely low and easily fixed by updating affected software.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- High
- Impact
- Privilege Gain
- Component
- Library
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
The flaw allows a local attacker to bypass permission checks on tty files via pt_chown when a FUSE filesystem is mounted, enabling modification of permissions on arbitrary pseudo-terminal devices and subsequent unauthorized access.
Why it matters to the business
Older systems or downstream packages like tensorflow (Bitnami) remain exposed to limited local access risks despite the CVE being over a decade old with negligible exploit probability and 98 downstream dependents; operational impact is minimal absent active exploitation or ransomware usage.
How an attack unfolds
An authenticated local user mounts a FUSE filesystem and invokes pt_chown against a target tty file; the missing permission validation permits the attacker to alter ownership or permissions, granting access to other users' pseudo-terminals without requiring network access or elevated privileges.
How to fix it
Upgrade glibc to version 2.18 or later; for tensorflow (Bitnami) deployments, update to version 2.7.2 or newer to incorporate the corrected library dependency.
How to confirm the fix worked
Confirm glibc version is 2.18+, verify tensorflow (Bitnami) reports 2.7.2+, and test that pt_chown rejects permission changes on tty files from unprivileged FUSE contexts.
Typical attack path
- Obtain local shell access on an affected system
- Mount a controllable FUSE filesystem
- Invoke pt_chown on a chosen tty device file
- Modify permissions to access another user's pseudo-terminal
- Interact with or capture data from the now-accessible terminal
How to detect it
Review authentication and process execution logs for unexpected pt_chown invocations involving FUSE-mounted paths; examine file permission changes on /dev/pts entries without corresponding administrative activity.
What your security team should do
- Prioritize upgrade of tensorflow (Bitnami) to 2.7.2 across all instances
- Inventory other packages depending on glibc < 2.18 given 98 downstream dependents
- Monitor for any future EPSS increase despite current stable low score
- Apply least-privilege controls on FUSE mounts as a compensating measure
The record
pt_chown in GNU C Library (aka glibc or libc6) before 2.18 does not properly check permissions for tty files, which allows local users to change the permission on the files and obtain access to arbitrary pseudo-terminals by leveraging a FUSE file system.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | glibc | 0 | 2.21-1 |
| Debian:11 | glibc | 0 | 2.21-1 |
| Debian:12 | glibc | 0 | 2.21-1 |
| Debian:13 | glibc | 0 | 2.21-1 |
| Mageia:2 | glibc | 0 | 2.14.1-11.2.mga2 |
| Mageia:3 | glibc | 0 | 2.17-7.2.mga3 |
| SUSE:Linux Enterprise Desktop 11 SP3 | glibc | 0 | 2.11.3-17.87.3 |
| SUSE:Linux Enterprise Desktop 11 SP4 | glibc | 0 | 2.11.3-17.87.3 |
| SUSE:Linux Enterprise Server 11 SP2-LTSS | glibc | 0 | 2.11.3-17.45.66.1 |
| SUSE:Linux Enterprise Server 11 SP3 | glibc | 0 | 2.11.3-17.87.3 |
| SUSE:Linux Enterprise Server 11 SP3-TERADATA | glibc | 0 | 2.11.3-17.87.3 |
| SUSE:Linux Enterprise Server 11 SP4 | glibc | 0 | 2.11.3-17.87.3 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP3 | glibc | 0 | 2.11.3-17.87.3 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | glibc | 0 | 2.11.3-17.87.3 |
| SUSE:Linux Enterprise Software Development Kit 11 SP3 | glibc | 0 | 2.11.3-17.87.3 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | glibc | 0 | 2.11.3-17.87.3 |
| Ubuntu:14.04:LTS | eglibc | 0 | 2.19-0ubuntu6.8 |
| Ubuntu:16.04:LTS | glibc | 0 | 2.23-0ubuntu1 |
| openSUSE:Tumbleweed | glibc | 0 | 2.24-2.3 |
Related vulnerabilities
- CVE-2021-3326 The iconv function in the GNU C Library (aka glibc or libc6) 2.32 and earlier, when… Also affects glibc
- CVE-2015-5180 res_query in libresolv in glibc before 2.25 allows remote attackers to cause a denial of… Also affects glibc
- CVE-2016-10228 The iconv program in the GNU C Library (aka glibc or libc6) 2.31 and earlier, when… Also affects glibc
- CVE-2015-0235 Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and… Also affects glibc
- CVE-2014-5119 Off-by-one error in the __gconv_translit_find function in gconv_trans.c in GNU C Library… Also affects glibc
- CVE-2012-4412 Integer overflow in string/strcoll_l.c in the GNU C Library (aka glibc or libc6) 2.17 and… Also affects glibc
- CVE-2013-4788 The PTR_MANGLE implementation in the GNU C Library (aka glibc or libc6) 2.4, 2.17, and… Also affects glibc
- CVE-2010-4052 Stack consumption vulnerability in the regcomp implementation in the GNU C Library (aka… Also affects glibc