S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Product Based Web Vulnerabilities·Updated Oct 8, 2024

CVE-2022-27043 Scanner

This scanner targets the Yearning SQL audit tool's file retrieval endpoint, allowing attackers to read arbitrary files outside the web root via path traversal sequences.

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
3.4k
Times Used
continuous scan runs
4.1k
Continuously Checked
assets under CS
11
Vulnerabilities Found
confirmed findings
References
CVECVE-2022-27043
7.5
CVSS

Yearning versions 2.3.1 and 2.3.2 Interstellar GA and 2.3.4 - 2.3.6 Neptune is vulnerable to Directory Traversal.

Attack Vector
-
Privileges Req.
-
User Interaction
-
Affected
n/aby n/a
n/a
Updated Aug 22, 2026View on NVD →
Detail

Yearning is a popular open-source SQL audit and management platform used by database administrators and DevOps teams to streamline database operations. It provides a web-based interface for executing SQL queries, reviewing changes, and managing database permissions. Organizations rely on Yearning to enforce compliance and improve database security in production environments.

CVE-2022-27043 is a directory traversal vulnerability that arises from insufficient input validation in Yearning's file handling functions. When the application processes user-supplied file paths, it fails to properly sanitize traversal sequences like '../', allowing attackers to escape the intended directory. This flaw is common in web applications that dynamically access files based on user input without strict path checks.

The vulnerability specifically affects the file download or preview endpoint in Yearning, where parameters such as 'file' or 'path' are used to specify the target file. By injecting sequences like '../../etc/passwd', an attacker can read sensitive system files. The endpoint does not canonicalize the path or verify it resides within the allowed directory, enabling unauthorized access.

If exploited, an attacker can read configuration files, database credentials, or other sensitive data stored on the server. This information can lead to further compromise, such as lateral movement or data exfiltration. The CVSS score of 7.5 reflects the high impact on confidentiality, though the attack requires network access and no authentication.

Solution Advice
  • Implement strict input validation to reject directory traversal sequences like '../' or '..' in file path parameters.
  • Use a whitelist of allowed file names or directories instead of accepting arbitrary paths from users.
  • Canonicalize file paths using functions like realpath() and verify they start with the expected base directory.
  • Apply the principle of least privilege to the web server process, limiting its read access to only necessary files.
  • Update Yearning to the latest patched version that addresses CVE-2022-27043.
  • Deploy a web application firewall (WAF) with rules to block path traversal attack patterns.
  • Conduct regular security audits and penetration testing to identify similar vulnerabilities.
  • Enable logging and monitoring for unusual file access attempts to detect exploitation in progress.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.