Description
SAP MaxDB 7.6.03 build 007 and earlier allows remote attackers to execute arbitrary commands via "&&" and other shell metacharacters in exec_sdbinfo and other unspecified commands, which are executed when MaxDB invokes cons.exe.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Metasploit 1 module
-
SAP MaxDB cons.exe Remote Command Injection
auxiliary/admin/maxdb/maxdb_cons_exec
Exploit-DB 1
- SAP MaxDB 7.6.03.07 - Remote Command Execution EDB-4877 · remote · Jan 9, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 28409 third-party-advisory
- 20080109 Pre-auth remote commands execution in SAP MaxDB 7.6.03.07 mailing-list
- ADV-2008-0104 vdb-entry
- 4877 exploit
- 1019171 vdb-entry
- http://aluigi.altervista.org/adv/sapone-adv.txt
- 3536 third-party-advisory
- maxdb-system-command-execution(39573) vdb-entry
- 27206 vdb-entry