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
CVE-2026-38945 | Kitploit
Tools/GitHubGitHub/wise-security/cve-2026-38945
Vulnerability AnalysisExploitationPenetration TestingSupply Chain SecurityLearning & EducationBinary Exploitation
GitHubwise-security/cve-2026-38945

CVE-2026-38945

View Repository
3 months 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-2026-38945

  • author: Rafael José Núñez Gulías
  • company: Iberian Var Group
  • Affected products: RayVentory Scan Engine 12.6 Update 8 and previous versions
  • Raynet advisory: RSEC200967

rvia in Raynet executes a find command with improperly terminated search criteria to locate Java installations when the oracle option is invoked. Attackers could craft specific directory structures that satisfied the malformed search criteria, causing the agent to execute a malicious binary during the Java detection process.

stringsfindcommand.png

root@kitploit:~
/bin/sh -c "find / -not \( -path '/dev' -o -path '/etc' -o -path '/mnt' -o -path '/tmp' -o -path '/proc' \) \( -path '*/jdk/bin/java' -o -path '*/jdk/jre/bin/java' -o -path '*/jdk-*/bin/java' -o -path '*/jdk*/bin/java' -o -path '*/jdk*/jre/bin/java' \) \( -type f -o -type l \)"

This command should ignore Java binaries at /tmp (also at /dev, /etc, /mnt, and /proc, but we are interested in the example with /tmp since is world-writable).

Note that the exclusion of other potentially dangerous directories like /home is missing.

The problem arises in that the first part of the command which is intended to ignore specific directories is missing the character * at the end of these directories and the * character is being used at the beginning of the other directories intended to be searched.

This allows any user to tamper with the Java file executed during the Java detection process, as the oracle option is commonly ran as a cron job.

root@kitploit:~
mkdir -p /tmp/jdk/bin
echo 'echo "rvia oracle was executed!" > /tmp/PoC' > /tmp/jdk/bin/java && chmod +rx /tmp/jdk/bin/java

executionflow.png

This is because when using the oracle option "if the Java runtime path is not configured in the /opt/rvia/rvia.cfg file, RayVentory Scan Engine tries to look for it anyway any time it needs it." And at some point tries to get the version of the Java environment installed by executing java -version.

Download Tool