Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^7: Beginner Recommendations

by harangzsolt33 (Chaplain)
on Jan 24, 2023 at 16:25 UTC ( [id://11149835]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Beginner Recommendations
in thread Beginner Recommendations

I do host sites which use my perl scripts, yes, but I don't put the value of arguments into system calls or into file open without filtering the incoming characters. Yeah, that would be asking for trouble. I try to stay informed about threats and vulnerabilities that programmers may unintentionally insert into their code. I try to do my part and not write garbage. Lol

Replies are listed 'Best First'.
Re^8: Beginner Recommendations
by hv (Prior) on Jan 24, 2023 at 17:01 UTC

    I do host sites which use my perl scripts, yes

    If you are using a perl earlier than 5.18, it is highly likely that your CGI scripts are vulnerable to algorithmic complexity attacks via hash keys, first addressed in the hash overhaul in 5.18.

    (I was then, and am still now, a member of the Perl security team. At the time I was working for a company with responsibility for the safekeeping of 100s of millions of credit card numbers and associated personal data, and the main bug report leading to that hash overhaul was the single scariest issue I dealt with in my career.)

      If you are using a perl earlier than 5.18, it is highly likely that your CGI scripts are vulnerable to algorithmic complexity attacks via hash keys

      Interesting and worrying that many shared hosting providers use Perl 5.16.x

        CentOS 7, perchance? They only have another year of O/S support in that case so you'll get something slightly newer in a while. Also note that RH have been known to ship patched versions of key applications without bumping internal version numbers and this might (might!) apply to perl.

        Anyway, all of our customers on shared hosting are on 5.34 now. Msg me if you are thinking of moving.


        🦛

      Correction: I do not host my website on my computer. That was a misunderstanding. I thought you asked if I store html and perl files on my computer. I do, but I don't host them as a webhost. My computer is connected to the internet only while I am sitting at my desk. When I am not there, I turn it off. And it has Windows XP on it. I don't think it could be turned into a hosting machine. All my sites are hosted at 100webspace.com where it looks like they use perl 5.016003. http://www.wzsn.net/list.pl

        None of this invalidates anything hv said, also 5.16 < 5.18...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11149835]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-03-28 16:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found