Study Shows Many Sites Still Failing Basic Security Measures
Orome1 writes with a summary of a large survey of web applications by Veracode. From the article: "Considered 'low hanging fruit' because of their prevalence in software applications, XSS and SQL Injection are two of the most frequently exploited vulnerabilities, often providing a gateway to customer data and intellectual property. When applying the new analysis criteria, Veracode reports eight out of 10 applications fail to meet acceptable levels of security, marking a significant decline from past reports. Specifically for web applications, the report showed a high concentration of XSS and SQL Injection vulnerabilities, with XSS present in 68 percent of all web applications and SQL Injection present in 32 percent of all web applications."
Then there is the Citicorp hack, where they dont even bother hashing the account numbers in the URL...
And they can be improved with Norton Internet Security! (Preparing for the new age of ask slashdot)
To offset political mods, replace Flamebait with Insightful.
I wonder how they test. Some sites that I manage return the user to the homepage on a hack attempt or unrecoverable error resulting in a 200 return. Would they consider such a system as hacked, since they got a 200 OK return, or not.
This is capitalism/corporations. It's all about profit, and spending extra on IT cuts into the bottom line.
Economy is bad, so companies make cuts. Personnel, IT, Security, and everything but the CEO's bonuses get cut.
Be seeing you...
Now its not my problem, its my Cloud providers problem.
I am on a project for ( smoke-testing ) the core app. of a major european airport. Same problems there. Management, after having been informed, said: "Not a priority". I guess only their bonuses are "a priority" ? I am thinking seriously of giving pointers to the whole project to Anonymous.
Religous speak to God. Insane are spoken to by God. When all shut up, one can finally hear Shostakovich in peace
Security auditing company produces report that conveniently shows that their services are desperately needed. News at eleven.
It's better to vote for what you want and not get it than to vote for what you don't want and get it.
- E. Debs
Let's get Bobby Tables out of the way.
I've got a fever and the only prescription is more COBOL.
why aren't there more comments
You have to realize that somewhere on the net there's a surveillance camera forum with guys saying 'businesses are too cheap to invest in multiple cam setups to cover exploitable deadzones'... and there's a locksmith forum with guys saying 'These companies are still relying on double bolt slide locks, when everyone knows they can be bypassed with a simple Krasner tool!'...and there's a car autosecurity forum wondering why companies still use basic Lo-jack instead of the new XYZ system.. and don't forget the personnel consulting forum where everyone complains that companies don't invest enough in training to recognize grifting attempts on employees.
It's a never ending list and to expect everyone to be on top of all of them at all times is n't realistic.
D
The first, last, and only tech news site on the net
I have dealt with a number of Veracode reports in the past. There are a lot of false positives - at least in the .NET code I have seen. The application is exploitable, but only if the attacker has access to the server-side code and can call some methods directly. If they can do that, we're past XSS and SQL Injections already. On most of the occasions there is no way to trigger the vulnerability nomatter what you post from the browser.
Since most of Veracode's customers only rely on the automated tests they perform, the existence of false positive is expected and they can be justified with comments. However, they are most certainly included in this report to make it more "sensational".
Cross site scripting and SQL Injection? Not even cross site request forgery, buffer overflows, cookie poisoning, cache poisoning, clickjacking, clearjacking, or ribbon-table password hacks? So then nothing more esoteric like man-in-the-middle attacks by packet injection (TCP spoofing). Talk about low hanging fruit!
Where I work, every time we get told to put our details into some new provider system for expenses, business travel or whatever (happens regularly with corporate changes) we see who can hack it first. We're developers, it's our personal data, why wouldn't we check ?
The fraction that are hacked in minutes is probably near 50%, and 32% for SQL injection is probably about right.
I'm not sure which is more depressing - the state of the sites or that even though we have a "security" consultancy practice in house, we get corporate edicts to put our data into sites that we haven't even bothered to audit to the extent of sticking a single quote in a couple of form fields or changing the userid in the url...
The precipitous drop in the "pass" rate for applications was caused by the introduction of new, tougher grading guidelines, including a "zero tolerance" policy on common errors like SQL injection and cross site scripting holes in applications, Veracode said.
Is the story that SQL Injection and XSS are still a problem or that Veracode just recently took a "zero tolerance" stance on SQL Injection and XSS in the applications they test?
1 (short ton / firkin) = 89.1432354 slugs / keg
since the definition of XSS is ridiculously broad. It took me a while to wrap my head around it when a was starting out because when you're looking up how to avoid XSS attacks on your page you come across some books that talk about preventing code injection on your forums and others talking about code running the the wrong security context.
Hi! I make Firefox Plug-ins. Check 'em out @ https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/
Everyone rather have their site cheap and straight away rather than secure. It's no surprise lots of sites are insecure.
I work at Veracode, and can share how we test. I'll be brief and technical here, as there's lots of marketing material available other places. In short, we scan web sites and web applications that our customers pay us to scan for them; the "State of Software Security" report is the aggregate sanitized data from all of our customers. We provide two distinct kinds of scans: dynamic and static.
With dynamic scans, we perform a deep, wide array of "simulated attacks" (e.g. SQL Injection, XSS, etc.) on the customer's site, looking for places where the site appears to respond in a vulnerable way. For example, if the customer's site has a form field, then our dynamic scanner might try to send some javascript in that field, and then can detect if the javascript is executed. If so, that's an XSS vulnerability. As you might imagine, the scanner can try literally hundreds of different attack approaches for each potentially vulnerable point on the site.
The static scans are a little fancier. The customer uploads to Veracode a copy of the executable binary build of their application (C/C++, Java, .NET, iPhone app, and a couple of other platforms). From the executable binary, the Veracode systems then create a complete, in-depth model of the program, including control flow, data flow, program structure, stack and heap memory analysis, etc.. This model is then scanned for patterns of vulnerability, which are then reported back to the customer. For example, if the program accepts data from an incoming HTTP request, and then if any portion of that data can somehow find its way into a database query without being cleansed of SQL escape characters, then the application is vulnerable to SQL Injection attacks. There are hundreds of other scans, including buffer overflows, etc.
Personally, I think what we do at Veracode is pretty amazing, particularly the static binary scans. I mean: you upload your executable, and you get back a report telling you where the flaws are and what you need to fix. The technical gee-whiz factor is pretty high, even for a jaded old-timer like me.
HYPOTHETICALLY SPEAKING FOR ALL OF THIS:
I worked in IT for several years and moved up to lower-middle management (outside of IT), that's where I'm residing in my career currently. My company does a lot of B2B work. I remotely log in to one of our contracted companies. The log in to their system is two layers. You log in to the first layer with an RSA token and username, then you log into the second layer with the same username and your regular password.
The usernames are generated with numbers at the end (COMPANYREP01, COMPANYREP02, COMPANYREP03, etc., etc.), this is how I found out about this flaw in logging in to the system.
The external site you have to use your username and RSA token password to log in, this part works. The second layer has a major flaw. You can type in any username and it logs you in under that username, regardless of the password you entered. Note above that's how I found the bug, I entered the wrong number for my username and came up with the wrong e-mail. I have LIGHTLY tried this on several other companies that I know contract with this company, the bug works on all of them. Lightly meaning I logged in to check if it was possible, saw the programs they had access to in order to assure it was that user and logged out.
Now since there are two layers, I'm assuming they can see how you logged in the first time, but it's really nerve-wracking to know this is out there. How is the best way to let this security flaw get known to the right people?
I don't want to outright tell it and possibly get in trouble, I have a good career going right now. I have also read enough horror stories on Slashdot and elsewhere to think this is a bad way to approach it. I do think someone should know so the problem can be fixed. Their IT department is located in another country, as is their helpdesk. Their headquarters is also located several hundred miles away, so I can't just slip a note under someone's door.
again, this is only a HYPOTHETICAL SITUATION and I have in no way found a problem with that companies system.
is the property management company formerly responsible for my apartment. They happily solicit credit card numbers over plaintext HTTP:
http://www.crosbypm.com/forms/realtors-owners-request/
They didn't believe me when I told them, and then I moved...
Strange, and I thought I knew all the software developers working at the company.
Hey don't blame me, IANAB
However, they are most certainly included in this report to make it more "sensational".
Ehm, no, they are included because it is hard to tell what the program is doing. Not all things can be resolved with rules, e.g. a chain of regex replaces. And you cannot brute-force it either most of the time by checking all inputs.
All you can do then is to determine the possible outputs by some rules, so a false positive is reported, whenever your rules are not exact.
Hey don't blame me, IANAB
Might as well give him the name of the technique (ala your @ username example).
APK
P.S.=> Should've turned him on to STORED PROCEDURES too, & passing parameters to them, rather than directly executing SQL statements client-side (this is another security/safety measure also)... apk