CVE-2025-1743

5.3 MEDIUM

📋 TL;DR

This critical vulnerability in Pichome 2.1.0 allows remote attackers to perform path traversal attacks via the 'src' parameter in /index.php?mod=textviewer. This could enable unauthorized file access on the server. Anyone running Pichome 2.1.0 is affected.

💻 Affected Systems

Products:
  • zyx0814 Pichome
Versions: 2.1.0
Operating Systems: All platforms running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: All installations of Pichome 2.1.0 are vulnerable by default. No special configuration required.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete server compromise through arbitrary file read/write, potentially leading to sensitive data exposure, credential theft, or remote code execution.

🟠

Likely Case

Unauthorized access to sensitive files like configuration files, source code, or user data stored on the server.

🟢

If Mitigated

Limited file access restricted by server permissions, potentially only reading non-sensitive files.

🌐 Internet-Facing: HIGH - Remote exploitation without authentication makes internet-facing instances extremely vulnerable.
🏢 Internal Only: MEDIUM - Internal instances are still vulnerable but attack surface is reduced.

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Public exploit details available in GitHub repository. Simple HTTP requests can trigger the vulnerability.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available

Restart Required: No

Instructions:

No official patch available. Check Pichome GitHub repository for updates or consider workarounds.

🔧 Temporary Workarounds

Input Validation Filter

all

Add input validation to filter path traversal sequences in the src parameter

Modify /index.php to validate and sanitize the 'src' parameter before processing

Web Server Restriction

all

Configure web server to restrict access to sensitive directories

Add .htaccess rules (Apache) or nginx location blocks to limit file access

🧯 If You Can't Patch

  • Remove or disable the textviewer module if not required
  • Implement WAF rules to block path traversal patterns in requests

🔍 How to Verify

Check if Vulnerable:

Test by accessing /index.php?mod=textviewer&src=../../../etc/passwd and checking for file content in response

Check Version:

Check Pichome version in configuration files or admin interface

Verify Fix Applied:

Attempt the same test after applying fixes - should return error or sanitized output

📡 Detection & Monitoring

Log Indicators:

  • HTTP requests to /index.php?mod=textviewer with ../ sequences in parameters
  • Unusual file access patterns from web server process

Network Indicators:

  • HTTP requests containing path traversal sequences like ../ or ..\
  • Responses containing unexpected file contents

SIEM Query:

web.url:*textviewer* AND (web.param:*../* OR web.param:*..\*)

🔗 References

📤 Share & Export