S4E just found a high-severity finding from cve-2026-42945 scanner (version based)
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Product Based Web Vulnerabilities·Updated Oct 8, 2024

HJTcloud Rest Local File Inclusion Scanner

Detects 'Local File Inclusion (LFI)' vulnerability in HJTcloud Rest.

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
3.1k
Times Used
continuous scan runs
5.8k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
Detail

HJTcloud is utilized by organizations that require cloud management and data storage solutions. It provides API services that allow integration with other platforms for data handling and management processes. Companies use HJTcloud to manage large volumes of data securely and efficiently. IT departments deploy it to ensure high availability and robust data management capabilities. HJTcloud is often implemented in environments where data security is critical to business operations. Its functionality aims to streamline cloud operations and improve data accessibility.

The Local File Inclusion (LFI) vulnerability occurs when a web application allows users to include files on a server through the web browser. This vulnerability can lead to sensitive information being exposed, unauthorized details being accessed, or system configurations being altered. LFI can be exploited by attackers to execute arbitrary code on the server, elevating their access privileges and compromising the system. In web applications, poor input validation often results in LFI vulnerabilities. The impact of an LFI attack can vary from minor information disclosure to full system compromise. Understanding the exploit techniques is crucial to effectively protecting web applications from LFI vulnerabilities.

The vulnerability in HJTcloud is a local file inclusion, where attackers can manipulate the `filePath` parameter to access unintended files. The endpoint in question is the `/him/api/rest/V1.0/system/log/list` API. By altering the file path parameter, an attacker can traverse the directory structure and access sensitive files on the server. The `filePath` parameter is not properly sanitized, allowing directory traversal sequences like `../` to be included. This can expose configuration files, logs, or even application source code. The application's response, formatted in JSON, reveals paths and file contents to unauthorized users.

Exploiting this vulnerability may lead to unauthorized access to sensitive files and data theft. It could enable attackers to disclose system configurations, which can be used for further exploitation. Local file inclusion might also lead to remote code execution if malicious scripts are included inadvertently. The exposure of critical files could compromise user data, business logic, or system integrity. In severe cases, it could escalate to a full system compromise. Implementing security measures is essential to prevent potential data breaches.

REFERENCES

Solution Advice
  • Implement robust input validation to sanitize user inputs.
  • Use path normalization to restrict directory traversal attempts.
  • Restrict file permissions to limit access to critical files.
  • Regularly update the web application to fix security vulnerabilities.
  • Conduct security audits and penetration testing to identify potential vulnerabilities.

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.