Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

You said:

The vast majority of people who exploit these vulnerabilities know how to find them on their own.

Agreed. But there is no point in making their task any easier.

You said:

This does little to reduce the security of his web app.

Minor point, but it isn't his. Only worth making for what follows...

As for informing your boss, I wouldn't make a big deal about it.

He said:

I have tried to explain this to my boss
And that is his problem.

He said:

My current employer, with whom I have not been very long, and I only work here part time while continuing to study....

It's very easy to forget how little respect and authority one receives, if one young (somewhat of an assumption: he could be a mature student!) or new.

He's probably both!

You said:

and suggest measures that would prevent the situation from arising in the future (secure programming standards, security audits, etc).

Exactly what he is trying to do. However, given his current lowly position in the company, the hysterisis of "it's been working fine for a couple of years", the (overused) adage of "if it ain't broke, don't fix it!" and "what does he know, he's only a kid" .

He came here looking for advice on how to make his case, with authority, to his (apparently non-Perl/programming/security aware) boss.

Finally, you said:

Fix it, tell him you fixed a security problem

He said (my highlighting):

All the customer data that is submitted to the script is as well as being emailed to us, stored in a text file. However the text file to store the data in is passed as a hidden field from the html, and there is no check to make sure that the referring page is the correct one.

Any fix is most likely going to need (at minimum) prodedural changes on behalf of the customers.

Even if this were not the case, scenario (abbreviated).

Takes code home (no authority to do it on company time)...makes a few minor changes in preparation nothing significant, just setting stuff up for the (your) 'fix'. Installs it next day...monitors it carefully functions fine. Goes home for the weekend....

By now you can probably see where this is leading.

The ha...sorry, cracker that saw his append and tracked him, or had been "casing the joint" for a couple of weeks, makes his move. Several (hundred) customers credit cards get used for whatever, and who gets the blame???


Conclusions....


In reply to Re: Re: Re: The danger of hidden fields by BrowserUk
in thread The danger of hidden fields by Gerard

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found