CVE-2016-7787
published 2016-12-23CVE-2016-7787: A maliciously crafted command line for kdesu can result in the user only seeing part of the commands that will actually get executed as super user.
PriorityP427medium4.9CVSS 3.0
AVNACLPRHUINSUCNIHAN
EPSS
1.66%
74.3th percentile
A maliciously crafted command line for kdesu can result in the user only seeing part of the commands that will actually get executed as super user.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | kde-cli-tools | < kde-cli-tools 4:5.8.0-1 (bookworm) | kde-cli-tools 4:5.8.0-1 (bookworm) |
| opensuse | leap | — | — |
| opensuse | opensuse | — | — |
CVSS provenance
nvdv3.04.9MEDIUMCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
nvdv2.04.0MEDIUMAV:N/AC:L/Au:S/C:N/I:P/A:N
osv4.9MEDIUM
vendor_debian4.9MEDIUM
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-2rvv-92pm-m5p9: A maliciously crafted command line for kdesu can result in the user only seeing part of the commands that will actually get executed as super user
ghsa_unreviewed·2022-05-14
CVE-2016-7787 [MEDIUM] CWE-94 GHSA-2rvv-92pm-m5p9: A maliciously crafted command line for kdesu can result in the user only seeing part of the commands that will actually get executed as super user
A maliciously crafted command line for kdesu can result in the user only seeing part of the commands that will actually get executed as super user.
OSV
CVE-2016-7787: A maliciously crafted command line for kdesu can result in the user only seeing part of the commands that will actually get executed as super user
osv·2016-12-23·CVSS 4.9
CVE-2016-7787 [MEDIUM] CVE-2016-7787: A maliciously crafted command line for kdesu can result in the user only seeing part of the commands that will actually get executed as super user
A maliciously crafted command line for kdesu can result in the user only seeing part of the commands that will actually get executed as super user.
Debian
CVE-2016-7787: kde-cli-tools - A maliciously crafted command line for kdesu can result in the user only seeing ...
vendor_debian·2016·CVSS 4.9
CVE-2016-7787 [MEDIUM] CVE-2016-7787: kde-cli-tools - A maliciously crafted command line for kdesu can result in the user only seeing ...
A maliciously crafted command line for kdesu can result in the user only seeing part of the commands that will actually get executed as super user.
Scope: local
bookworm: resolved (fixed in 4:5.8.0-1)
bullseye: resolved (fixed in 4:5.8.0-1)
forky: resolved (fixed in 4:5.8.0-1)
sid: resolved (fixed in 4:5.8.0-1)
trixie: resolved (fixed in 4:5.8.0-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-7787 kf5-kdesu: Improper handling of unicode string terminator in kdesu invocation [epel-7]
bugzilla·2016-09-29·CVSS 4.9
CVE-2016-7787 [MEDIUM] CVE-2016-7787 kf5-kdesu: Improper handling of unicode string terminator in kdesu invocation [epel-7]
CVE-2016-7787 kf5-kdesu: Improper handling of unicode string terminator in kdesu invocation [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
[bug automatically created b
Bugzilla
CVE-2016-7787 kde-cli-tools: Improper handling of unicode string terminator in kdesu invocation
bugzilla·2016-09-29·CVSS 4.9
CVE-2016-7787 [MEDIUM] CVE-2016-7787 kde-cli-tools: Improper handling of unicode string terminator in kdesu invocation
CVE-2016-7787 kde-cli-tools: Improper handling of unicode string terminator in kdesu invocation
Improper handling of unicode string terminator in kdesu invocation could lead to unintended code execution.
PoC:
echo Hi@; whoami > /tmp/filebyroot
If @ is the unicode string terminator, it would only tell the user that kdesu executed "echo Hi" but it also creates the /tmp/filebyroot file as root
Upstream patch:
https://github.com/KDE/kde-cli-tools/commit/5eda179a099ba68a20dc21dc0da63e85a565a171
CVE assignment:
http://seclists.org/oss-sec/2016/q3/653
Discussion:
Created kf5-kdesu tracking bugs for this issue:
Affects: fedora-all [bug 1380387]
Affects: epel-7 [bug 1380388]
---
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package
Bugzilla
CVE-2016-7787 kde-cli-tools: Improper handling of unicode string terminator in kdesu invocation [fedora-all]
bugzilla·2016-09-29·CVSS 4.9
CVE-2016-7787 [MEDIUM] CVE-2016-7787 kde-cli-tools: Improper handling of unicode string terminator in kdesu invocation [fedora-all]
CVE-2016-7787 kde-cli-tools: Improper handling of unicode string terminator in kdesu invocation [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects
http://lists.opensuse.org/opensuse-updates/2016-10/msg00031.htmlhttp://lists.opensuse.org/opensuse-updates/2016-10/msg00034.htmlhttp://www.openwall.com/lists/oss-security/2016/09/29/7http://www.securityfocus.com/bid/93224http://lists.opensuse.org/opensuse-updates/2016-10/msg00031.htmlhttp://lists.opensuse.org/opensuse-updates/2016-10/msg00034.htmlhttp://www.openwall.com/lists/oss-security/2016/09/29/7http://www.securityfocus.com/bid/93224
2016-12-23
Published