Comment On The Super Secure Web Service

Everyone tolerated Steve. Some even got a kick out of his antics: whenever a successful project was nearing launch, Steve would rush in to "rescue" it. He'd send off warning emails to everyone, saying the testing was not conclusive, the deployment plan was incomplete, and the code was riddled with bugs. Then he'd call for a "weekend crunch" to make things right and slave away as the project's sole martyr when no one else would come in. Granted, he would never actually check-in code or make any other changes, but he'd always take credit for the project. No one bought it, and that's why it was so funny. Well, funny until he was promoted to management. [expand full text]
« PrevPage 1 | Page 2Next »

Re: The Super Secure Web Service

2006-11-21 14:13 • by antipodas

Now this is the best wtf in ages..... Has everything on it. Incapable manager, hardcoded values, pointless technology used, etc.....

 

 

Love it ;)

 

First? 

Re: The Super Secure Web Service

2006-11-21 14:14 • by doc0tis

Alex Papadimoulis:
"This way, if the Accounts Payable system ever needed to know who
checked in some code to the Source Control system, it'd be a simple Web
Service call."

 

I love it. What AP module is complete without a code checkout report?

 
:-)

 

--doc0tis 

Re: The Super Secure Web Service

2006-11-21 14:17 • by kuroshin

Wait, wait , wait!!

Do they have webservices to destroy companies ? 

Re: The Super Secure Web Service

2006-11-21 14:22 • by L. Ron Hoover

I have to point out the obvious. They invented REST.

 

Re: The Super Secure Web Service

2006-11-21 14:37 • by iyanifera
Alex Papadimoulis:

This way, if the Accounts Payable system ever needed to know who checked in some code to the Source Control system, it'd be a simple Web Service call.



What an interesting sensation... I think my brain hiccupped when I read that sentence. 

Re: The Super Secure Web Service

2006-11-21 14:40 • by emurphy
103113 in reply to 103104
Anonymous:

I have to point out the obvious. They invented REST.

 

Restricted Environmental Stimulation Technique?  Yeah, that would explain a lot.

 

Re: The Super Secure Web Service

2006-11-21 14:57 • by gcon
Alex Papadimoulis:

...Integrated Widows Authentication to determine who was making the request. The big problem with Integrated Widows Authentication...

 Although the authentication scheme is flimsy at best, threatening to make widows out of attacker's wives kept all but the bravest / loneliest hackers at bay...

 

[Note from Alex - fixed typo =-)]

Re: The Super Secure Web Service

2006-11-21 15:06 • by anony-mouse
He knew what he was going!

Re: The Super Secure Web Service

2006-11-21 15:17 • by dwayner79
103129 in reply to 103122
Quite a few typos the last few days.  Wonder what's up?

Re: The Super Secure Web Service

2006-11-21 15:19 • by Mogri

Alex Papadimoulis:
He'd send off warning emails to everyone, saying the testing was not
conclusive, the deployment plan was incomplete, and the code was
riddled with bugs. Then he'd call for a "weekend crunch" to make things
right and slave away as the project's sole martyr when no one else
would come in. Granted, he would never actually check-in code or make
any other changes, but he'd always take credit for the project.

 That's genius!
 

Re: The Super Secure Web Service

2006-11-21 15:23 • by mbvlist
103134 in reply to 103131
Anonymous:

Alex Papadimoulis:
He'd send off warning emails to everyone, saying the testing was not
conclusive, the deployment plan was incomplete, and the code was
riddled with bugs. Then he'd call for a "weekend crunch" to make things
right and slave away as the project's sole martyr when no one else
would come in. Granted, he would never actually check-in code or make
any other changes, but he'd always take credit for the project.

 That's genius!
 

let's see if they accept that at my office >:)

Re: The Super Secure Web Service

2006-11-21 15:24 • by A Businessman
103135 in reply to 103129

Anonymous:
Quite a few typos the last few days.  Wonder what's up?

Given what Alex posts, can you imagine what he reads that we never see? It's a miracle he can sit up straight...

Re: The Super Secure Web Service

2006-11-21 15:45 • by cconroy
103141 in reply to 103098
Anonymous:

Alex Papadimoulis:
"This way, if the Accounts Payable system ever needed to know who
checked in some code to the Source Control system, it'd be a simple Web
Service call."

 

I love it. What AP module is complete without a code checkout report?

 
:-)

 

--doc0tis 

Well,
how else would the developers get the per-bug-fix bonus they were
promised in the interview?  Come to think of it, I'm still waiting
on my check...

Re: The Super Secure Web Service

2006-11-21 15:59 • by Fonzy
Alex Papadimoulis:

public string WebRequest(string requestXml, string username, string passkey)
{
    if (passkey == "32foi$^")
    {
        return InternalWebRequest(requestXml, username);
    }
    else
    {
        return null;
    }
}

Hey I have an idea.  Maybe he should just hard code everyone’s usernames and passwords in to this if statement.

Re: The Super Secure Web Service

2006-11-21 16:04 • by mmarinov
Alex Papadimoulis:

 [WebMethod]
public string WebRequest(string requestXml, string username, string passkey)
{
    if (passkey == "32foi$^")
    {
        return InternalWebRequest(requestXml, username);
    }
    else
    {
        return null;
    }
}

 Oh I get it, the WTF is that there aren't any capital letters in the secure passkey, right?

Re: The Super Secure Web Service

2006-11-21 16:04 • by mmarinov
Alex Papadimoulis:

 [WebMethod]
public string WebRequest(string requestXml, string username, string passkey)
{
    if (passkey == "32foi$^")
    {
        return InternalWebRequest(requestXml, username);
    }
    else
    {
        return null;
    }
}

 Oh I get it, the WTF is that there aren't any capital letters in the secure passkey, right?

Re: The Super Secure Web Service

2006-11-21 16:05 • by ptomblin
103149 in reply to 103144
Fonzy:

Hey I have an idea.  Maybe he should just hard code everyone’s usernames and passwords in to this if statement.

I have a better idea - hard code them into the Javascript!  Rely on the browser to tell you if the person has authenticated or not.  With the added bonus that you're exposing your userids and passwords to anybody who looks at the page source. 

Re: The Super Secure Web Service

2006-11-21 16:10 • by DigitalLogic
Alex Papadimoulis:
This way, if the Accounts Payable system ever needed to know who checked in some code to the Source Control system, it'd be a simple Web Service call.


I think this sentence should qualify as a representive line.  So what if its not source code.

Re: The Super Secure Web Service

2006-11-21 16:38 • by Mithrandir

I can't quite decide if I would wish that that monstrosity was hosted on SSL, or if it wasn't.  If it wasn't, at least it would be blatantly obvious to the first network sniff what a stupendous WTF this is... but then there's the danger that the first person to do a network sniff *ahem* doesn't tell anyone.

 Argh!  Damn this thing - it tempts me to try to take it seriously!

Re: The Super Secure Web Service

2006-11-21 16:46 • by Ghost Ware Wizard

people either look good or *are* good.

this doofus is the former

how secure is that and his *promotion* to management was deserved 'eh

Re: The Super Secure Web Service

2006-11-21 16:46 • by Corporate Cog
Alex Papadimoulis:

He believed in "leading by example" and wanted to show everyone that he knew what he was going.

Apparently, he didn't know whether he was coming or doing. 

Re: The Super Secure Web Service

2006-11-21 16:59 • by LRB
103159 in reply to 103156
Security is only needed for applications that actually do something.  If the rest of the design is as "good" as the security part, I seriously doubt if anything will actually happen.  Remember this is the same "genius" who fixed problems in release without every checking in any code.  Maybe he could even design a codeless architecture to implement all this.

Re: The Super Secure Web Service

2006-11-21 17:07 • by biziclop
Funny how people can reinvent Kerberos, while totally missing the mark.

Re: The Super Secure Web Service

2006-11-21 17:08 • by John Bigboote
Fixed it! 
[WebMethod]
public string WebRequest(string requestXml, string username, string passkey)
{
if (passkey == "32foi$^")
{
return InternalWebRequest(requestXml, username);
}
else
{
return "Hey dumbass...the password is \"32foi$^\".";

}
}

Re: The Super Secure Web Service

2006-11-21 17:10 • by biziclop

By the way, the second best solution is to write a wsdl that contains the password. (I had to write a client for such a webservice once.)

 

Re: The Super Secure Web Service

2006-11-21 17:45 • by SneWs
103168 in reply to 103097
Fantastic, just splended... hahaha, just splended :D

Re: The Super Secure Web Service

2006-11-21 17:51 • by stimmell

I work with someone who used to be a developer, but "failed upward". Not only did his solutions hardly ever work consistently, but his design practices were, well, terrible. His code was generally a uncommented mess of hard-coded global variables with a total lack of any sort of object oriented design, or any distinguishable design pattern for that matter, with no traces of any sort of error handling. So he has his new position and decides to start exercising some of his new found authority. Our reporting department had been complaining that some of their reports take too long to generate. Although this is to be expected with multi-hundred-thousand row reports consisting of sometimes a decade's worth of production data, we did what we could to optimize our reporting tools.

Ultimately, what it boiled down to was the memory limits for ISS worker processes on 32-bit platforms. The obvious solution was to upgrade our aging reporting server to a more robust 64-bit platform. So when the aforementioned individual called a meeting with the reporting department to discuss possible solutions we brought that suggestion to the table. Person X's response to our suggestion was classic. Mind you that this person was promoted all the way to the top of the development chain.

developer y: "We did some research and believe that upgrading to a 64-bit platform will solve our problems by extending the memory limitations for ISS worker processes"

manager x: "What are you talking about?! 64-bit? That doesn't even exist! Come back with something realistic."

developer y: "Isn't your lab top 64-bit?"

manager x: "No, and I think I would know."

developer y: "See that sticker right there next to your keyboard? Doesn't that say 64-bit?"

manager x: "Well so what, I don't see how improved graphics could help our reporting problems"
 

Re: The Super Secure Web Service

2006-11-21 18:10 • by Dragnslcr
103174 in reply to 103170

To be fair, it seems like this system is only for internal use. If that is the case, they shouldn't have to worry about someone packet sniffing the password; if someone who shouldn't be inside the network is inside the network, they have other problems. Of course, having a password in the first place would then be rather pointless.

 

Okay, I'll stop trying to apologize for this sorry excuse for an engineer.

Re: The Super Secure Web Service

2006-11-21 18:25 • by Franz Kafka
103176 in reply to 103174

So what? the password is hardcoded, stored in code, and passed in the clear. It provides no real security either - the only reason to have it at all is to force developers to talk to you before using your service.

 

/knowhutimean 

Re: The Super Secure Web Service

2006-11-21 18:34 • by ssprencel
103178 in reply to 103174
Dragnslcr:

To be fair, it seems like this system is only for internal use. If that is the case, they shouldn't have to worry about someone packet sniffing the password; if someone who shouldn't be inside the network is inside the network, they have other problems.

Because the system is for internal use, they *should* worry about packet sniffing.  I'm willing to bet that most successful security hacks happen on the inside.  How many times have you played with Ethreal/Wireshark at your house?  It's much more fun at work. 

The larger the company, the more likely you are to get a disgrunteld employee who acts on their malicious impulses.  I used to work in Loss Prevention at a major retail store, and our estimates were that 80% of all our "loss" was internal.  My job was to watch the employees first and the customers second.

 

Re: The Super Secure Web Service

2006-11-21 18:38 • by biziclop
103179 in reply to 103170
stimmell:

I work with someone who used to be a developer, but "failed upward". Not only did his solutions hardly ever work consistently, but his design practices were, well, terrible. His code was generally a uncommented mess of hard-coded global variables with a total lack of any sort of object oriented design, or any distinguishable design pattern for that matter, with no traces of any sort of error handling. So he has his new position and decides to start exercising some of his new found authority. Our reporting department had been complaining that some of their reports take too long to generate. Although this is to be expected with multi-hundred-thousand row reports consisting of sometimes a decade's worth of production data, we did what we could to optimize our reporting tools.

Ultimately, what it boiled down to was the memory limits for ISS worker processes on 32-bit platforms. The obvious solution was to upgrade our aging reporting server to a more robust 64-bit platform. So when the aforementioned individual called a meeting with the reporting department to discuss possible solutions we brought that suggestion to the table. Person X's response to our suggestion was classic. Mind you that this person was promoted all the way to the top of the development chain.

developer y: "We did some research and believe that upgrading to a 64-bit platform will solve our problems by extending the memory limitations for ISS worker processes"

manager x: "What are you talking about?! 64-bit? That doesn't even exist! Come back with something realistic."

developer y: "Isn't your lab top 64-bit?"

manager x: "No, and I think I would know."

developer y: "See that sticker right there next to your keyboard? Doesn't that say 64-bit?"

manager x: "Well so what, I don't see how improved graphics could help our reporting problems"
 

I didn't know there was a 64 bit Etch-a-sketch. 

Re: The Super Secure Web Service

2006-11-21 19:19 • by Volmarias
103183 in reply to 103170
stimmell:

I work with someone who used to be a developer, but "failed upward". Not only did his solutions hardly ever work consistently, but his design practices were, well, terrible. His code was generally a uncommented mess of hard-coded global variables with a total lack of any sort of object oriented design, or any distinguishable design pattern for that matter, with no traces of any sort of error handling. So he has his new position and decides to start exercising some of his new found authority. Our reporting department had been complaining that some of their reports take too long to generate. Although this is to be expected with multi-hundred-thousand row reports consisting of sometimes a decade's worth of production data, we did what we could to optimize our reporting tools.

Ultimately, what it boiled down to was the memory limits for ISS worker processes on 32-bit platforms. The obvious solution was to upgrade our aging reporting server to a more robust 64-bit platform. So when the aforementioned individual called a meeting with the reporting department to discuss possible solutions we brought that suggestion to the table. Person X's response to our suggestion was classic. Mind you that this person was promoted all the way to the top of the development chain.

developer y: "We did some research and believe that upgrading to a 64-bit platform will solve our problems by extending the memory limitations for ISS worker processes"

manager x: "What are you talking about?! 64-bit? That doesn't even exist! Come back with something realistic."

developer y: "Isn't your lab top 64-bit?"

manager x: "No, and I think I would know."

developer y: "See that sticker right there next to your keyboard? Doesn't that say 64-bit?"

manager x: "Well so what, I don't see how improved graphics could help our reporting problems"
 



I think that's the point when you ask to have a meeting with the reports people, minus person X, and explain them that he's actually become feebleminded, and that the only reason he's kept around is because of some dirty laundry. Shh! Don't tell other people. But you saw what he did in there.

Re: The Super Secure Web Service

2006-11-21 23:01 • by Steve
103200 in reply to 103183

The real WTF is:  Steve can now deny responsibility because it was secure until the submitter leak the company's secret authentication scheme.  Now if only he/she tell us the actual identity of the company. ;)

Billant! 

CAPTCHA = paula

Re: The Super Secure Web Service

2006-11-21 23:55 • by Steve Wannabe

We can learn something significant from this, guys. Steve, despite his incompetence, managed to rise all the way to the top.

He must be doing something right. Me, if I have a guy like that as a colleague I'll watch closely what he'll do. So the next time it's my turn, I can do the same tactics, with clear conscience, because I know that my technical skill will actually back me up.

 

Re: The Super Secure Web Service

2006-11-22 00:21 • by webzter

>No one bought it, and that's why it was so funny. Well, funny until he was promoted to management.

I don't buy it... if no one believed his charades, then who promoted him to management? I'm guessing he was rewarded for his dedication, ability to rally the troops to fix critical issues, etc.

Re: The Super Secure Web Service

2006-11-22 01:42 • by Steve Wannabe
103208 in reply to 103203
webzter:

>No one bought it, and that's why it was so funny. Well, funny until he was promoted to management.

I don't buy it... if no one believed his charades, then who promoted him to management? I'm guessing he was rewarded for his dedication, ability to rally the troops to fix critical issues, etc.

Either it was an exaggeration, or Steve was actually _that_ good in making the right impression to the right people.
 

Re: The Super Secure Web Service

2006-11-22 03:33 • by disaster
103212 in reply to 103149
ptomblin:
Fonzy:

Hey I have an idea.  Maybe he should just hard code everyone’s usernames and passwords in to this if statement.

I have a better idea - hard code them into the Javascript!  Rely on the browser to tell you if the person has authenticated or not. 

 Good thinking batman! We all know that http isn't really secure so do the password validation on the client side and you never have to send passwords over http.

 

Re: The Super Secure Web Service

2006-11-22 03:51 • by anonymous
103213 in reply to 103212
Anonymous:
ptomblin:
Fonzy:

Hey I have an idea.  Maybe he should just hard code everyone’s usernames and passwords in to this if statement.

I have a better idea - hard code them into the Javascript!  Rely on the browser to tell you if the person has authenticated or not. 

 Good thinking batman! We all know that http isn't really secure so do the password validation on the client side and you never have to send passwords over http.

 

From Wikipedia, the free encyclopedia

Irony is a literary or rhetorical device in which there is a gap
or incongruity between what a speaker or a writer says, and what is
generally understood (either at the time, or in the later context of
history). Irony may also arise from a discordance between acts and
results, especially if it is striking, and known to a later audience. A
certain kind of irony may result from the act of pursuing a desired
outcome, resulting in the opposite effect, but again, only if this is
known to a third party. In this case the aesthetic arises from the
realization that an effort is sharply at odds with an outcome, and that
in fact the very effort has been its own undoing.

 

Re: The Super Secure Web Service

2006-11-22 03:59 • by cb
103214 in reply to 103170
Any fool knows you can't run 64-bit worker processes in a zero-gravity environment, sheesh.

Re: The Super Secure Web Service

2006-11-22 05:02 • by Flying Codeman

WTF! They are not using the correct casing rules!
 


public string WebRequest(string requestXml, string username, string passkey)

 should be

public string WebRequest(string requestXml, string userName, string passKey)

;)

Re: The Super Secure Web Service

2006-11-22 05:12 • by anonymous
103219 in reply to 103217

I am web developper, and I have no idea the right way to implement that.

But I think can something about that:

  • Client ask for service XYZ.
  • Server give unique string "challenge",
  • Client concatenate "challenge" and "password" and create a md5 hash of that.
  • Client send that hash withing service call.
  • Server concatenate "challenge" and "password", create md5 hash and compare with the one the client send. If match, able to run the service, else detailless error (ERROR 501 and nothing else more informative).

I think this idea is weak because you need to store the user passwords at clientside and at serverside. Is better to forget passwords and only store a hash of the original password serverside :I. Other problem: you need to do 2 calls to get the data, and the server need some sort of session, and the result can be man in the midle weak.

How to enhance that? 

Re: The Super Secure Web Service

2006-11-22 05:16 • by raton-laveur
"32foi$^" ? That's french for "32 time$^".

Re: The Super Secure Web Service

2006-11-22 05:47 • by ValiSystem


Got this ad at the end of the article : 



Enterprise security software that gets theats before get to you

 Symantec
 

haha !




Still waiting symantec to kick incapable manager out.


Re: The Super Secure Web Service

2006-11-22 06:04 • by Sam Thornton
103223 in reply to 103219

This is a little off topic, but the problem is sending unencrypted passwords in the clear over a TCP/IP connection. Simple hash protocols are not really encryption and are not normally considered secure enough for that job.

 If you are interested in encryption technology that can be used on the client side of an internet connection, you might want to check out the JavaScript crypto functions in a package such as Dojo, freely available at the Dojo website.
 

Re: The Super Secure Web Service

2006-11-22 06:05 • by TheRider
103224 in reply to 103214

Anonymous:
Any fool knows you can't run 64-bit worker processes in a zero-gravity environment, sheesh.

Are you saying that this system should be operated from outer space? So the whole universe can sniff that password-packet?  :-)

Re: The Super Secure Web Service

2006-11-22 06:09 • by Sam Thornton
103225 in reply to 103223

>>This is a little off topic, but...

 Sorry, this was directed to Anonymous who asked the question about password hashing. Quote function didn't work.
 

Re: The Super Secure Web Service

2006-11-22 06:41 • by Regis
It that case, using web services all over the place was not a bad choice. It is a good excuse to buy many licenses of Windows Server because Pro licenses cannot serve more than 10 users at a time. Usually VPs evaluates the importance of a manager by how much they spend.

Re: The Super Secure Web Service

2006-11-22 07:24 • by Anonymous Tart
103228 in reply to 103178
Anonymous:
Dragnslcr:

To be fair, it seems like this system is only for internal use. If that is the case, they shouldn't have to worry about someone packet sniffing the password; if someone who shouldn't be inside the network is inside the network, they have other problems.

Because the system is for internal use, they *should* worry about packet sniffing.  I'm willing to bet that most successful security hacks happen on the inside.  How many times have you played with Ethreal/Wireshark at your house?  It's much more fun at work. 

The larger the company, the more likely you are to get a disgrunteld employee who acts on their malicious impulses.  I used to work in Loss Prevention at a major retail store, and our estimates were that 80% of all our "loss" was internal.  My job was to watch the employees first and the customers second.

 Ever heard of switches?

Switch your adaptor to promiscuous and two things happen at our company,

1) You find out you cant actually sniff anything not going to or from your local box

2) You find my boot up your arse, and a P45 in the post for breaking computer use policy

 

And the answer to 'clear text authentication issues' arent javascript crpyto libraries, hash functions or anything similar. Its called SSL/TLS, its a standard and its trivial to layer over HTTP.

CAPTCHA: giggity giggity giggity ITS QUAQMIRE
 

Re: The Super Secure Web Service

2006-11-22 08:41 • by ParkinT
103229 in reply to 103144
Fonzy:
Alex Papadimoulis:

public string WebRequest(string requestXml, string username, string passkey)
{
    if (passkey == "32foi$^")
    {
        return InternalWebRequest(requestXml, username);
    }
    else
    {
        return null;
    }
}

Hey I have an idea.  Maybe he should just hard code everyone’s usernames and passwords in to this if statement.

Yes.

And hard-coding each password to be a ROT-13 of the username would make it completely secure because you would not be relying on one global password! </sarcasm>

Re: The Super Secure Web Service

2006-11-22 08:45 • by ParkinT
103230 in reply to 103155
Ghost Ware Wizard:

people either look good or *are* good.

this doofus is the former

how secure is that and his *promotion* to management was deserved 'eh

A classic example of The Peter Principle !

« PrevPage 1 | Page 2Next »

Add Comment