Home  >  Article  >  CMS Tutorial  >  PHPCMS vulnerability file poster.php

PHPCMS vulnerability file poster.php

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼forward
2019-11-21 10:54:373384browse

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
补丁来源:网络
…

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']);

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!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete