❌

Normal view

Akshay Thakare

Title: PHP2Shell explained β€” how a PHP vulnerability could lead to RCE without stealing your password
I was researching the recent PHP2Shell vulnerabilities and found the story behind them pretty interesting β€” especially how the issue was discovered and why authentication wasn’t necessarily the main barrier.
I put together a video breaking down:
what PHP2Shell is
how the vulnerability works at a high level
how it was discovered
the timeline around disclosure
why it matters for PHP developers/server admins
what developers should take away from it
Video: https://youtu.be/JmeYBki6WYY
Would also be interested to hear from people running PHP in production β€” how quickly do you normally roll out security updates when something like this drops?

submitted by /u/Akshay-Thakare to r/PHP
[link] [comments]

PHP-FPM with multiple VirtualHost ports possible?

1) I want use ports but not working: mydomain.com:101/index.html

2) This does work: mydomain.com/php56/index.html

So dev and production environments match want to avoid that subfolder.

--------httpd.conf for #2:------------------------

<VirtualHost *:80> <Directory /var/www/html> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> <Location /php82> ProxyPass "unix:/run/php/php8.2-fpm.sock|fcgi://localhost/var/www/html/php82" </Location> <Location /php56> ProxyPass "unix:/run/php/php5.6-fpm.sock|fcgi://localhost/var/www/html/php56" </Location> </VirtualHost> 

--------httpd.conf for #1:------------------------

<VirtualHost *:80> <Directory /var/www/html> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> <Location /php82> ProxyPass "unix:/run/php/php8.2-fpm.sock|fcgi://localhost/var/www/html/php82" </Location> </VirtualHost> <VirtualHost *:101> <Directory /var/www/html/php56> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> ProxyPass "unix:/run/php/php5.6-fpm.sock|fcgi://localhost/var/www/html/php56" </VirtualHost> 

EDIT: Added Listen 101 and didn't fix anything. See comment with text "AH00526" for details on error from running "apachectl configtest"

submitted by /u/peter-pickle to r/PHP
[link] [comments]

How the "Steal My Bitcoin" challenge was solved - It was really 2 hours.

TL;DR for the first 26 hours the page was a static html page being served by php. After the challenger author was informed that if there is no php code php doesn't execute, the author added a phpversion() script.

After this became exploitable it took 2 hours for someone to hack the server and steal the bitcoin.

submitted by /u/DrWhatNoName to r/PHP
[link] [comments]

Government Websites Go Dark After Severe PHP Vulnerabilities Disclosed

By: BeauHD
21 October 2026 at 12:00
"PHP disclosed two critical vulnerabilities in their programming language and urged web site operators to immediately apply the fix," writes longtime Slashdot reader smooth wombat. "As a result, government web sites in Europe and elsewhere temporarily went dark on Wednesday as operators worked to protect their systems." The Independent reports: Dane Knecht, the chief technology officer of Web and cloud security firm Cloudflare, said that attacks were emerging and Cloudflare was updating its firewall rules as a stopgap measure. "We are seeing early attacks emerging and are updating mitigations as new vectors show up. This is a STOPGAP only. Patch as soon as PHP releases the update," he said on X. Officials have said that all PHP versions from PHP 5 onward could be affected, although PHP has not yet disclosed which versions are vulnerable. Special thanks to Slashdot readers Alain Williams and mrspoonsi for sharing this critical PHP security release. For more details, read the official PHP announcement and guidance on what to do next.

Read more of this story at Slashdot.

HP's Answer to the MacBook Neo Is Thinner, Lighter, and Comes With OLED

By: BeauHD
1 October 2026 at 11:00
HP is taking aim at Apple's MacBook Neo with the new OmniBook 5 14, a $699.99 Windows laptop that starts with an Intel Core 5 315 processor, 8GB of RAM and 256GB of storage but includes an OLED display even on the base model. It's also slightly thinner and lighter than the Neo. The Verge reports: The OmniBook 5 14 can be configured much higher, with up to a Core 7 350 chip, 16GB of RAM, and a 1TB SSD, but all models include a 1080p webcam, dual speakers, HDMI, 3.5mm audio jack, and just two 10Gbps USB-C ports. And while the inclusion of OLED across the range is a major draw to the new OmniBook, the base config only has a passable 1920 x 1200 resolution and 300 nits of max brightness on its non-touch panel. A touchscreen version will be available when the OmniBook 5 launches in October, but a version with a 2560 x 1600 resolution OLED and 400 nits of brightness isn't coming until March 2027. While the OmniBook 5 14 doesn't seem poised to best the MacBook Neo in raw processing power (based on our other reviews of Wildcat Lake laptops) or screen brightness, it's quite thin, light, and colorful. HP even gave it the nicer, sleeker lid logo usually reserved for pricier models. It starts at just 2.56 pounds, and it's as thin as 0.46 inches / 11.7mm. That's slightly lighter and thinner than a Neo. And I'd expect its Wildcat Lake chips to offer some good-to-great battery life. But we'll have to see how it delivers in actual testing. HP also announced a new ProBook 4 G2iS that is the company's "thinnest business notebook," measuring in at 0.47 inches / 12mm. It'll launch in December with Intel Wildcat Lake chips, 8GB of RAM, and a 256GB SSD, though pricing hasn't been announced.

Read more of this story at Slashdot.

❌