vendor:
sNews CMS
by:
hyp3rlinx
8,8
CVSS
HIGH
Persistent Remote Command Execution, Cross Site Request Forgeries (CSRF) and Persistent XSS
352, 352, 79
CWE
Product Name: sNews CMS
Affected Version From: 1.7.1
Affected Version To: 1.7.1
Patch Exists: NO
Related CWE: N/A
CPE: a:snewscms:snews_cms
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2019
sNews CMS v1.7.1 Persistent Remote Command Execution, Cross Site Request Forgeries (CSRF) and Persistent XSS
sNews CMS v1.7.1 has a feature that allows PHP functions to be inserted for articles by authenticated users under 'Edit Article'. However, there is no CSRF token/checks to prevent unauthorized HTTP requests to be made on behalf of that user. Furthermore, these commands will get stored in MySQL database in the 'articles' table. So each time that sNews webpage is visited it will execute. Additionally, an attacker can hijack SNews CMS accounts, delete arbitrary files in the webroot, and inject persistent XSS.
Mitigation:
Implement CSRF token/checks to prevent unauthorized HTTP requests to be made on behalf of that user. Additionally, input filtering should be implemented to prevent malicious code injection.