English Amiga Board


Go Back   English Amiga Board > News

 
 
Thread Tools
Old 15 July 2024, 23:33   #81
jaycee1980
Registered User
 
Join Date: Jan 2021
Location: Norwich
Posts: 16
Quote:
Originally Posted by jbenam View Post
Great stuff, I retired a PHP4 application after 20 years just some months ago and it was never attacked. The code? It was utter trash. Did a vulnerability scan on it some years ago before rewriting it and it literally had dozens of 9+ vulnerabilities. On every part. Oh, and it had a phpmyadmin version from 1999 installed next to it.
PHP4 was indeed an era of much crap full of vulnerabilities. 5 helped and things have gotten pretty much tighter with 7.

A lot of it is deployment as well as the code though. PHP setups that echo errors out to the end user are just asking to be exploited. I always configure PHP so that it logs errors to a logfile, and if neccesary the HTTP side responds with 500.

Stuff like phpmyadmin, webmin, cpanel etc left exposed is also bad news. Either limit it by IP, put it behind a VPN, or dont run it at all. I quickly got rid of phpmyadmin from anything i worked on.
jaycee1980 is offline  
Old 16 July 2024, 13:01   #82
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,696
Quote:
If you’re a so-called dev and don’t even check if what you’re installing is *actually* what you meant to install (be it by sigs, checksum, or by just reading the freaking URL you’re cloning) the problem doesn’t lie in the framework and/or the package manager, it lies between the screen and the chair.
I agree wholeheartedly in principle, but in practise large applications often have hundreds of dependencies and as always in online businesses, driven by MVP and time to market concerns. Stuff gets overlooked all the time. As long as nothing appears to be obviously wrong, stuff gets applied without the level of review you expect. I just don't think it's fair to hold a team of Devs working to a tight deadline responsible for not noticing something insidious when security auditing is probably a job that someone working for a CISO should habe.

Plus, a lot of companies simply don't (want to) pay for SAST tools that go a long way to automating these processes too.
Karlos is offline  
Old 16 July 2024, 14:53   #83
lifeschool
Local Moderator
 
lifeschool's Avatar
 
Join Date: Oct 2009
Location: Lancashire, UK
Age: 48
Posts: 1,684
I believe Lemon/64 was running at least php 7.

Upgrading to the latest builds of phpbb is a supreme ball ache, and there should be some kind of easy way to batch run installs.
lifeschool is offline  
Old 16 July 2024, 15:26   #84
lifeschool
Local Moderator
 
lifeschool's Avatar
 
Join Date: Oct 2009
Location: Lancashire, UK
Age: 48
Posts: 1,684
Good news. Lemons are back in a couple of days. !

Look out for progress maybe soonish.
lifeschool is offline  
Old 16 July 2024, 16:40   #85
Seiya
Registered User
 
Seiya's Avatar
 
Join Date: Nov 2014
Location: Italy
Posts: 2,500
very good news
Seiya is offline  
Old 16 July 2024, 17:55   #86
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,696
Quote:
Originally Posted by lifeschool View Post
I believe Lemon/64 was running at least php 7.

Upgrading to the latest builds of phpbb is a supreme ball ache, and there should be some kind of easy way to batch run installs.
Do they know what the attack vector was?
Karlos is offline  
Old 16 July 2024, 19:23   #87
Predseda
Puttymoon inhabitant
 
Predseda's Avatar
 
Join Date: Mar 2007
Location: Tromaville
Age: 46
Posts: 7,610
Send a message via ICQ to Predseda
We are back online.
Predseda is online now  
Old 16 July 2024, 19:38   #88
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,696
Quote:
Originally Posted by Predseda View Post
We are back online.
+1

Any fallout?
Karlos is offline  
Old 16 July 2024, 20:07   #89
AlphaAmiga
Registered User
 
AlphaAmiga's Avatar
 
Join Date: Nov 2018
Location: Liverpool
Posts: 184
Quote:
Originally Posted by Predseda View Post
We are back online.

Awesome!!!
AlphaAmiga is offline  
Old 16 July 2024, 21:58   #90
gimbal
cheeky scoundrel
 
gimbal's Avatar
 
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 43
Posts: 7,021
Quote:
Originally Posted by AestheticDebris View Post
The parameterised version will look for a row where name is exactly the above text. The bad version will see multiple commands and run them all, dropping a table in the process.
Not very likely to succeed thankfully. Because

A) referential integrity constraints and
B) if the application database user has the right to drop tables, you must want it to happen.

Data theft is the bigger risk.
gimbal is offline  
Old 16 July 2024, 23:53   #91
Octopus66
Registered User
 
Join Date: Feb 2016
Location: London
Posts: 359
Quote:
Originally Posted by Predseda View Post
We are back online.
Great news!
Octopus66 is offline  
Old 18 July 2024, 01:32   #92
Avanze
Amiga User
 
Avanze's Avatar
 
Join Date: Sep 2003
Location: Pennsylvania
Age: 47
Posts: 567
Yay! Lemon is back!
Avanze is offline  
Old 18 July 2024, 14:03   #93
AestheticDebris
Registered User
 
Join Date: May 2023
Location: Norwich
Posts: 493
Quote:
Originally Posted by gimbal View Post
Not very likely to succeed thankfully. Because

A) referential integrity constraints and
B) if the application database user has the right to drop tables, you must want it to happen.

Data theft is the bigger risk.
Well yes, but that's the simple example. Extending it to do anything such as dump out entire tables is trivial.
AestheticDebris is online now  
Old 18 July 2024, 14:23   #94
prometeo
Registered User
 
Join Date: Aug 2018
Location: Rome / Italy
Age: 53
Posts: 21
Quote:
Originally Posted by Karlos View Post
Whichever technology stack you use, you have to take security seriously or hope that your infrastructure protects you.
Amen.
Cheers,
Giacomo.
prometeo is offline  
Old 20 July 2024, 14:21   #95
swoslover
Registered User
 
Join Date: Jun 2024
Location: Scotland
Posts: 18
Is amiga.org down now too?
swoslover is offline  
Old 20 July 2024, 14:30   #96
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,264
Quote:
Originally Posted by swoslover View Post
Is amiga.org down now too?
Lemon Amiga is back up. Amiga.org forum is down.
TCD is online now  
Old 20 July 2024, 14:31   #97
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,696
Quote:
Originally Posted by swoslover View Post
Is amiga.org down now too?
It goes down so often that it's got its own OnlyFans account these days....
Karlos is offline  
Old 20 July 2024, 14:46   #98
swoslover
Registered User
 
Join Date: Jun 2024
Location: Scotland
Posts: 18
Quote:
Originally Posted by Karlos View Post
It goes down so often that it's got its own OnlyFans account these days....


Good to know that's it's usual and this isn't some coordinated attack on Amiga sites!
swoslover is offline  
Old 20 July 2024, 15:02   #99
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,696
I joke, but it is a bit sad. These sites are all run by enthusiasts, even the ones owned by "business". Amiga.org was my go-to place for Amiga news and discussion for years, long before I ever signed up. When Wayne had to move it to vBulletin from XOOPS, there was so much stuff that couldn't be imported, so we ended up writing custom migration tooling and doing it bit by bit. I remember scripting the link replacements, that had to identify every site referencing URL in every post, comment, article, etc and update them so they'd still link to the same equivalent content etc. We could've left it, but we wanted people to have a consistent experience and not just endless 404s (rewrite rules can only do so much).That was the lariest one, having so many regular expression callbacks. There was so much content to get through, it had to run while the site was up, in a rate limited fashion. I think it took maybe a day to finish working from most recent to oldest.

I'm not blaming anyone for anything, but the long period it was down for prior to the current iteration seems to have been a fatal blow to what was my favourite watering hole in the vast desert of targeted content I can't give a crap about that is the modern web.
Karlos is offline  
Old 20 July 2024, 15:15   #100
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,696
Quote:
Originally Posted by gimbal View Post
Not very likely to succeed thankfully. Because

A) referential integrity constraints and
B) if the application database user has the right to drop tables, you must want it to happen.

Data theft is the bigger risk.
Generally, it's not that you want it to happen, it's that you're a regular guy running a site on an out of box solution on a host but you're not a DBA or a sysadmin and maybe you aren't aware you've got a risky configuration. You just don't know what you don't know. You might even have inherited the responsibility from someone else who didn't know what they were doing, or worse did, but didn't care.

It could be some shared hosting solution that got owned through a neighbour's laxity.

Ignorance ultimately isn't an excuse if you are going to run a site but every kind of sh*t happens.
Karlos is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
amiga magix website is hacked Retro-Nerd Amiga scene 19 14 July 2006 03:31
The Lemon Amiga forum is Launched Lemon News 13 15 July 2004 23:03
Amiga.com hacked ! RCK Amiga scene 34 29 December 2002 01:01
Another Amiga WebPage Hacked Carlos Ace Amiga scene 13 11 May 2002 01:21
Amiga.org Hacked/Down Galahad/FLT Amiga scene 3 24 December 2001 16:35

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:12.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10725 seconds with 14 queries