Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CABTrap_OneNote2007 — Microsoft Office Onenote 2007 (CVE-2014-2815) ".ONEPKG" File Directory Traversal Vulnerability Leads to Arbitrary Code Execution | Kitploit
Tools/GitHubGitHub/edubr2020/cabtrap_onenote2007
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingPayload DevelopmentBinary Exploitation
GitHubedubr2020/cabtrap_onenote2007

CABTrap_OneNote2007

Microsoft Office Onenote 2007 (CVE-2014-2815) ".ONEPKG" File Directory Traversal Vulnerability Leads to Arbitrary Code Execution

View Repository
32285 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    627
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    413
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    350
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    329
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    AI powered OSINT engine to discover and map 7,700+ social media identities across the web

    283

Explore all tools

Browse our collection of tools

View all tools →
Share

CABTrap_OneNote2007

Microsoft Office Onenote 2007 (CVE-2014-2815) ".ONEPKG" File Directory Traversal Vulnerability Leads to Arbitrary Code Execution Microsoft Office Onenote 2007 (CVE-2014-2815) ".ONEPKG" File Directory Traversal Vulnerability Leads to Arbitrary Code Execution

OneNote 2007 is prone to a vulnerability that causes the program to extract files contained inside a ".onepkg" file,which uses the "MS CAB Format", to be extracted to an arbitrary location in the system by using parent directory ".." in the file names. Since Onenote also does not check file extensions, it is possible to extract unsafe files to arbitrary locations.

On Windows XP the standard user has write access to most locations in the system, so an attacker is able to extract a DLL file (ntshrui.dll) to Microsoft Office install dir which gets loaded by Onenote just after processing the ".onepkg" file:

c:\program files\microsoft office\office12\ntshrui.dll

On Windows Vista and above the standard user is limited by the "UAC" feature so that it is only possible to extract files to the current user´s profile sub directories. Extracting an executable file to the startup folder is possible, which leads to arbitrary code execution as well, when the computer is re-started.

To reproduce this, use a Cab archiver software (eg. 'makecab.exe') or your IDE with programming language of choice that supports the MS CAB format, and insert files with long names inside a new cab archive. and edit the file names by replacing the characters with parent directories "..". Rename the produced cab archive to ".onepkg".

in this PoC, Windows Write app was used, and to be dropped in startup folder, I named it:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaWrite.exe

then by using the traversal technique, the file name inside the CAB archive becomes:

......\roaming\microsoft\windows\start menu\programs\startup\Write.exe

Vulnerable: MS Office 2007 SP3 Tested on: Windows XP SP3, Vista SP2, 7 SP1 + Office 2007 SP3 (without the patch) (other OSes will likely be vulnerable as well)

Download Tool