CVE-2001-1494
published 2001-12-31CVE-2001-1494: script command in the util-linux package before 2.11n allows local users to overwrite arbitrary files by setting a hardlink from the typescript log file to any…
PriorityP416medium5.5CVSS 3.1
AVLACLPRLUINSUCNIHAN
EPSS
0.43%
35.3th percentile
script command in the util-linux package before 2.11n allows local users to overwrite arbitrary files by setting a hardlink from the typescript log file to any file on the system, then having root execute the script command.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | util-linux | < util-linux 2.11n-1 (bookworm) | util-linux 2.11n-1 (bookworm) |
| kernel | util-linux | < 2.11n | 2.11n |
| kernel | util-linux | >= 0 < 2.11n-1 | 2.11n-1 |
| kernel | util-linux | >= 0 < 2.11n-1 | 2.11n-1 |
| kernel | util-linux | >= 0 < 2.11n-1 | 2.11n-1 |
| kernel | util-linux | >= 0 < 2.11n-1 | 2.11n-1 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:N/I:P/A:N
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-8gpj-8888-5722: script command in the util-linux package before 2
ghsa_unreviewed·2022-04-30
CVE-2001-1494 [LOW] CWE-59 GHSA-8gpj-8888-5722: script command in the util-linux package before 2
script command in the util-linux package before 2.11n allows local users to overwrite arbitrary files by setting a hardlink from the typescript log file to any file on the system, then having root execute the script command.
OSV
CVE-2001-1494: script command in the util-linux package before 2
osv·2001-12-31·CVSS 5.5
CVE-2001-1494 [MEDIUM] CVE-2001-1494: script command in the util-linux package before 2
script command in the util-linux package before 2.11n allows local users to overwrite arbitrary files by setting a hardlink from the typescript log file to any file on the system, then having root execute the script command.
Red Hat
security flaw
vendor_redhat·2001-12-12·CVSS 5.5
CVE-2001-1494 [MEDIUM] security flaw
security flaw
script command in the util-linux package before 2.11n allows local users to overwrite arbitrary files by setting a hardlink from the typescript log file to any file on the system, then having root execute the script command.
Debian
CVE-2001-1494: util-linux - script command in the util-linux package before 2.11n allows local users to over...
vendor_debian·2001·CVSS 5.5
CVE-2001-1494 [MEDIUM] CVE-2001-1494: util-linux - script command in the util-linux package before 2.11n allows local users to over...
script command in the util-linux package before 2.11n allows local users to overwrite arbitrary files by setting a hardlink from the typescript log file to any file on the system, then having root execute the script command.
Scope: local
bookworm: resolved (fixed in 2.11n-1)
bullseye: resolved (fixed in 2.11n-1)
forky: resolved (fixed in 2.11n-1)
sid: resolved (fixed in 2.11n-1)
trixie: resolved (fixed in 2.11n-1)
No detection rules found.
No public exploits indexed.
CWE
Improper Link Resolution Before File Access ('Link Following')
mitre_cwe
CWE-59 Improper Link Resolution Before File Access ('Link Following')
CWE-59: Improper Link Resolution Before File Access ('Link Following')
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Background: Soft links are a UNIX term that is synonymous with simple shortcuts on Windows-based platforms.
Modes of Introduction:
Phase: Implementation
Note: REALIZATION: This weakness is caused during implementation of an architectural security tactic.
Common Consequences:
Scope: Confidentiality, Integrity, Access Control. Impact: Read Files or Directories, Modify Files or Directories, Bypass Protection Mechanism. An attacker may be able to traverse the file system to unintended locations and read or overwrite the contents of unexpe
CWE
UNIX Hard Link
mitre_cwe·CVSS 5.5
[MEDIUM] CWE-62 UNIX Hard Link
CWE-62: UNIX Hard Link
The product, when opening a file or directory, does not sufficiently account for when the name is associated with a hard link to a target that is outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.
Failure for a system to check for hard links can result in vulnerability to different types of attacks. For example, an attacker can escalate their privileges if a file used by a privileged program is replaced with a hard link to a sensitive file (e.g. /etc/passwd). When the process opens the file, the attacker can assume the privileges of that process.
Modes of Introduction:
Phase: Implementation
Common Consequences:
Scope: Confidentiality, Integrity. Impact: Read Files or Directories, Modify File
http://seclists.org/bugtraq/2001/Dec/0122.htmlhttp://seclists.org/bugtraq/2001/Dec/0123.htmlhttp://secunia.com/advisories/16785http://secunia.com/advisories/18502http://support.avaya.com/elmodocs2/security/ASA-2006-014.htmhttp://www.redhat.com/support/errata/RHSA-2005-782.htmlhttp://www.securityfocus.com/bid/16280https://exchange.xforce.ibmcloud.com/vulnerabilities/7718https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10723http://seclists.org/bugtraq/2001/Dec/0122.htmlhttp://seclists.org/bugtraq/2001/Dec/0123.htmlhttp://secunia.com/advisories/16785http://secunia.com/advisories/18502http://support.avaya.com/elmodocs2/security/ASA-2006-014.htmhttp://www.redhat.com/support/errata/RHSA-2005-782.htmlhttp://www.securityfocus.com/bid/16280https://exchange.xforce.ibmcloud.com/vulnerabilities/7718https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10723
2001-12-31
Published