vendor:
PHPmongoDB
by:
Ozer Goker
5.5
CVSS
MEDIUM
CSRF, HTML Injection, XSS
352
CWE
Product Name: PHPmongoDB
Affected Version From: 1.0.0
Affected Version To: 1.0.0
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested:
2016
PHPmongoDB v1.0.0 – Multiple Vulnerabilities [CSRF | HTML(or Iframe) Injection | XSS (Reflected & Stored)]
The PHPmongoDB v1.0.0 software is vulnerable to CSRF attacks, HTML Injection, and XSS vulnerabilities. The CSRF vulnerabilities allow an attacker to create a database, drop a database, and create a collection without proper authentication. The HTML Injection vulnerability allows an attacker to inject malicious HTML code into the application, potentially leading to further attacks. The XSS vulnerabilities allow an attacker to execute malicious scripts within the context of the application, potentially leading to session hijacking or other attacks.
Mitigation:
To mitigate these vulnerabilities, it is recommended to implement proper input validation and sanitization to prevent CSRF attacks, HTML Injection, and XSS vulnerabilities. Additionally, authentication and authorization mechanisms should be implemented to restrict access to sensitive operations such as creating or dropping databases.