Home > CMS Tutorial > PHPCMS > body text

PHPCMS vulnerability file poster.php

爱喝马黛茶的安东尼
Release: 2019-11-21 10:54:37
forward
3358 people have browsed it

PHPCMS vulnerability file poster.php

About the vulnerability repair plan of Alibaba Cloud prompting "phpcms injection vulnerability file poster.php"

简介:
漏洞名称:phpcms注入漏洞
补丁文件:www/phpcms/modules/poster/poster.php
补丁来源:网络
…
Copy after login

Solution:

1. Open the file www/phpcms/modules/poster/poster.php and find around line 221;

2. Modify the code, in the code if ($_GET['group']) { After, add the following code:

$ _GET['group'] = preg_replace('#`#', '', $_GET['group']);
Copy after login

3. Then, upload the modified file to the corresponding file location on the server and overwrite it directly;

4. Finally, log in to the Alibaba Cloud backend and click Verify (screenshot below) to complete the repair of this injection vulnerability.

PHPCMS vulnerability file poster.php

The above is all about the "phpcms injection vulnerability file poster.php".

PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!

The above is the detailed content of PHPCMS vulnerability file poster.php. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!