Critical Bug Last Year Allowed Bypassing Authentication On HPE ILO4 Servers With 29 'A' Characters (bleepingcomputer.com)
Public exploit code has been published for a severe vulnerability which last year affected Hewlett Packard Integrated Lights-Out 4 (HP iLO 4), a tool for remotely managing the company's servers.
HPE "silently released" patches last August, an anonymous reader reports, adding "details only emerged this spring after researchers started presenting their work at security conferences." The vulnerability is an authentication bypass that allows attackers access to HP iLO consoles. Researchers say this access can later be used to extract cleartext passwords, execute malicious code, and even replace iLO firmware. But besides being a remotely exploitable flaw, this vulnerability is also as easy as it gets when it comes to exploitation, requiring a cURL request and 29 letter "A" characters, as below:
curl -H "Connection: AAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
Because of its simplicity and remote exploitation factor, the vulnerability — tracked as CVE-2017-12542 — received a severity score of 9.8 out of 10.
HPE "silently released" patches last August, an anonymous reader reports, adding "details only emerged this spring after researchers started presenting their work at security conferences." The vulnerability is an authentication bypass that allows attackers access to HP iLO consoles. Researchers say this access can later be used to extract cleartext passwords, execute malicious code, and even replace iLO firmware. But besides being a remotely exploitable flaw, this vulnerability is also as easy as it gets when it comes to exploitation, requiring a cURL request and 29 letter "A" characters, as below:
curl -H "Connection: AAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
Because of its simplicity and remote exploitation factor, the vulnerability — tracked as CVE-2017-12542 — received a severity score of 9.8 out of 10.
How can you extract cleartext passwords? Unless...finish this sentence...
...not be on purpose
... when your network infrastructure was certified secure by the Fonz.
Aaaaaaaaaaaaaaaaaaaay.
Check out my sci-fi/humor trilogy at PatriotsBooks.
You may have hears the phrase "garbage in, garbage out".
That's how programmers used to think. The design and test code try to make it work right, when the user uses it right, of course. If the user mashes keys at random, random things might happen. That used to be an okay way of thinking.
The internet has changed that. Now the user (connecting over the internet) WILL mash keys at random. Well, their script will send random bytes. It's no longer okay for software to respond in random ways when it receives random input. Any software accessible via the network MUST be designed thinking about how things can go wrong, not just about how it should work correctly.
Many programmers, especially those who learned writing desktop applications, still think in terms of the program doing the right thing when it receives sane input. Insane input isn't handled securely. The programmers who wrote the ilo software made this mistake.
Specifically, the input is up to 16 characters long, so they failed to handle the case of very long input. Network. Software should be tested with these inputs, at least:
Empty input
Zero
The null character (ASCII 0)
Very long input
He who is valiant and pure of spirit may find the Holy Grail in the Castle of ...
What would be a ten? No authentication at all?
HP has been garbage since Carly Fiorino was running the place. Why anyone would do business with them at this point is beyond me.
"Oh my God. This is terrible. This is the end of my Presidency. I'm fucked."; ~ Donald J. Trump
This is great research! Have they tried "AAAAAAAAAAAAAAAAAAAAAAAAAAAAB" yet?
"Nobody would ever think to type 'A' 29 times!!
Because everybody else makes nigh-indistinguishable crap that is prone to the exact same problems.
IMO the entire concept of "take peecee that assumes a person is in front at all times, then bolt on ever-more sophisticatedly polished turds to fake the presence of a human", starting with the compaq era keyboard faking plug, KVMs, IPKVMs, built-in IPKVMs with various names, and so on, is Broken As Designed.
Mind that the rot spreak not just to iLOs but seeped into southbridges and onward, with intel's iME and AMD's SPS. Those are both vulnerable to this sort of thing too, and their problems tend to get already high yet still underrated severity labels.
It's why Real Servers Are Headless. There aren't any of those to be had these days. Haven't seen any on offer for a long, long time, in fact. Keep all the vulnerable crap entirely out of the box and do the management over a simple serial connection. The peecee just can't do it, but Real Servers could. Add a multiport serial server to your rack full of servers and voila, uniform management by ssh. Add a gui to the serial server box if you must. But not to individual boxes as a backdoor, never on that scale. Compare, contrast, and conclude again that the entire concept for peecee-as-server management is utterly broken.
Carly was a watershed moment, but the rot was in there from the beginning, built right into the minds of everyone who thought using peecees as servers was a good idea. So for this particular thing, you can't really blame Carly actually. However much blame she deserves for everything she did otherwise.
in NSA Got to collect on it all.
The A ind DEA
The A in other Agency.
So safe even the buddy system contractors can use it.
Domestic spying is now "Benign Information Gathering"
Computing 101
Code reviews have long been abolished.
Only OpenBSD states what their code passes. Apparently commercial OS's are to catch up.
Checking string lengths should have been fixed since windows NT 3.1 came out.
Who checks function call return codes, or return codes after a data retrieval call?
I believe HP sells code checking software - apparently they do not use it on their own code. Nuff said.
aaaaaaaaaaaaaaaaaaaaaaaaaa-1 Plumbing
Once I saw that the latest version is iLO 5, I figured it had to be vulnerable to the same exploit as iLO 4 and sure enough:
https://support.hpe.com/hpsc/d...
"A security vulnerability in HPE Integrated Lights-Out 4, 5 (iLO 4 prior to v2.60, and iLO 5 prior to v1.30) could be remotely or locally exploited by an Administrative user to allow remote or local code execution."
If you're stupid enough to make your iLO connection directly publicly accessible and not secured behind a VPN or bastion server then you deserve to get pwned by whatever exploit comes your way. I will never understand why anyone would put an interface that is historically the weakest link out there where anyone can basically have console access to your hardware.
They sure picked the name right. They do a whole hell of a lot of huffing and puffing.
Wiki entry:
http://uncyclopedia.wikia.com/...!
Kriston
Well at least the secret passcode isn't "12345".
https://www.youtube.com/watch?v=a6iW-8xPw3k