Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Repair Scheme of PHPCMS vulnerability File poster.php

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

The purpose of this article is to share with you the contents of the fix scheme for the file poster.php, which is about the PHPCMS vulnerability. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

On the vulnerability repair scheme of Aliyun prompt "phpcms injection vulnerability file poster.php"

Introduction: vulnerability name: phpcms injection vulnerability patch file: www/phpcms/modules/poster/poster.php patch source: network.

Solution:

1. Open the file www/phpcms/modules/poster/poster.php and find line 221 or so.

2. Modify the code by adding the following code after the code if ($_ GET ['group']) {:

$_ 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 Aliyun backend and click verify (screenshot below) to complete the repair of this injection vulnerability.

Thank you for reading! On the PHPCMS vulnerability file poster.php repair program is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report