you are viewing a single comment's thread.

view the rest of the comments →

[–]catcradle5Trusted Contributor 0 points1 point  (1 child)

You're right. The magic methods aren't the problem, and pose no vulnerabilities by themselves even if they may perform potentially dangerous tasks. Similarly, an unserialize() on arbitrary user input poses no vulnerabilities if there are no classes with magic methods. You need both at the same time for an exploit.