ThinkPHP 5.x Remote Code Execution Vulnerability Threat Alert

ThinkPHP 5.x Remote Code Execution Vulnerability Threat Alert

dezembro 13, 2018 | Adeline Zhang


Recently, ThinkPHP posted a blog, announcing the release of an important update that addresses a critical vulnerability. This security update fixes a getShell vulnerability caused by the framework’s insufficient checks on controller names in case forced routing is not enabled. The vulnerability, which affects ThinkPHP 5.0 and 5.1, is fixed in the latest version.

The official announcement can be found at the following link:

Affected Versions

  • ThinkPHP 5.0.x < 5.0.23
  • ThinkPHP 5.1.x < 5.1.31

Unaffected Versions

  • ThinkPHP 5.0.23
  • ThinkPHP 5.1.31


ThinkPHP has released a security update to fix the preceding vulnerability. Users are strongly advised to upgrade their installation to the latest version as soon as possible.

For the upgrade method, please visit the following link:


This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.


NSFOCUS IB is a wholly owned subsidiary of NSFOCUS, an enterprise application and network security provider, with operations in the Americas, Europe, the Middle East, Southeast Asia and Japan. NSFOCUS IB has a proven track record of combatting the increasingly complex cyber threat landscape through the construction and implementation of multi-layered defense systems. The company’s Intelligent Hybrid Security strategy utilizes both cloud and on-premises security platforms, built on a foundation of real-time global threat intelligence, to provide unified, multi-layer protection from advanced cyber threats.

For more information about NSFOCUS, please visit:

NSFOCUS, NSFOCUS IB, and NSFOCUS, INC. are trademarks or registered trademarks of NSFOCUS, Inc. All other names and trademarks are property of their respective firms.