r/RagnarokOnline • Moderator • 5d ago

Discussion Real talk, how long does it take to update PHP?

Post image

WarpPortal forums are down over the PHP security issues raised last month, and there's not even a timeline estimate posted or anything.

Maybe I'm just not using PHP in the same way, but it didn't take that long to upgrade in my projects...

Or maybe the forums will come back right after I post this.

5 Upvotes

13 comments sorted by

11

u/SayuriShoji 5d ago

Make fun of iRO all you want, but at least they are consistent: Their website security updates are at the same pace as their RO game updates.

5

u/charlielovesu 5d ago

As someone dealing with this. It’s a nightmare. PHP got patched day 1 for us when we saw it then we took our own website down. Since then there’s already been another PHP exploit while we rewrite our entire website to not use PHP.

PHP Is vulnerable as all hell right now.

1

u/Flamefury Moderator 5d ago

To be fair, it's always been vulnerable and we're just getting more details on how faster than in the past. There were major CVEs in 2012, 2019 and 2024 too.

PHP is also a good target to try and find new vulnerabilities in, since so much of the web uses it. FluxCP for rAthena servers too, for instance. With AI, people can find problems way faster.

Software support right now is just in the middle of a rude awakening in that their upgrade processes need an overhaul to get critical security updates sooner and minimize downtime. Even if PHP stops being dominant, whatever becomes the next most used language is going to end up being subject to the same thing.

2

u/charlielovesu 5d ago

Yeah PHP is just pretty old as well. That’s the main reason. Flux being open source has also led it being vulnerable in the AI age as well.

4

u/Sunnyc02 4d ago

The problem likely is because their forum is built many years ago in older PHP version that have no official patch, the version is at end of life. So it is not as easy as just apt upgrade PHP, the code has to work and over the years PHP have new syntax and depreciated functions.

The official PHP upgrade or patch channel only covers the latest 3-4 versions. I am not sure if WP ever upgraded their forum software (was it one of the php paid forum such as vbulletin or Invision?)

There are backport and other ways depending on the OS to continue to run the same PHP version with patched code but they have to look deeper than the official PHP upgrades. My guess is they should be able to isolate this forum or any old php web hosted files into a separate server, run cloudlinux as the OS with a paid subscription, it supports PHP all the way down to version 5.2 with patch. Or simply get a shared/managed host that will come with a PHP version selector that works for them.

If they choose to manual or AI upgrade all the code to be compatible with PHP 8.3 at least, it might take a long time to get everything right.

1

u/Xellie Moderator 4d ago

It's Invision. They pay for the patch.

2

u/Sunnyc02 2d ago edited 2d ago

Just asked Google AI (because they have cache of their version?):

"The site's footer credits "Community Forum Software by IP.Board" alongside classic 3.x URL ... Invision retired the "IP.Board" branding and shifted to clean URLs when version 4.0 launched in 2015."

"IP.Board 3.x reached end-of-life years ago and only supports older, unsupported PHP versions (such as PHP 5.x)"

So they might be using an older version of Invision Board and didn't keep up with newer versions? As far as I can remember using the WP forum, it looked the same since 2006.

But then I can understand upgrade starting 10 years ago takes the effort of upgrading PHP along the way, they didn't want to do it back then haunts them today.

So now they need to do two things at least, upgrade the PHP version on the host and then upgrade/transfer the forum to the latest supported Invision version. Assuming Invision has tool to help upgrade the database etc.

Or continue to run the forum in a patched version of php5.x as I mentioned earlier, but that doesn't mean Invision board from 2015 is all secured in this new AI world we are into.

It's a big forum, with a lot of users and posts. If they are upgrading the board version, I imagine it will be a nightmare dealing with a monster size database.

2

u/Reynbou 5d ago

took me about 20 minutes to update for my job, and realistically it was 5 minutes of actual work

1

u/Trovan 5d ago

Not having php is the best mitigation I guess. /shrug

2

u/TravincalPlumber 5d ago

no exploit when there is nothing left to exploit lol.

1

u/SayuriShoji 5d ago

They said the same back when the EU introduced the GDPR laws for user data protection.
WarpPortal: "We can't break EU laws if we don't have any EU players. Ban them al!"

1

u/Adept-Type 5d ago

If I remember correctly, iRO had a bug in their own patcher that required a fix from the independent wiki to work, and they didn't do shit about it for months. Some parts of their website have been outdated for a long time. I wonder how much it would cost them to use a shitty AI to fix their forum.

1

u/Xellie Moderator 4d ago edited 4d ago

Last I checked they didn't use php they used asp for the website and php invisionboard community for the forums - so they have to wait for Invision to patch it, then apply that / pay for the upgrade and then bridge it into their Microsoft powered website.

I'm also assuming they don't maintain paying an invision license, which is the only way you can get the patches!