Microsoft's GitHub under fire after disappearing proof-of-concept exploit for critical Microsoft Exchange vuln
- Reference: 1615509145
- News link: https://www.theregister.co.uk/2021/03/12/github_disappears_exploit/
- Source link:
The PoC code, something short of an actual functioning exploit, consisted of a 169-line Python file. It took advantage of [1]CVE-2021-26855 , a Microsoft Exchange Server flaw that allows an attacker to bypass authentication and act with administrative privileges.
[2]
The bug, referred to as [3]ProxyLogon , was one of [4]four Microsoft Exchange zero-days that Microsoft patched in an out-of-band release on March 3, 2021. It's part of the " [5]Hafnium " attack that [6]prompted a US government warning last week.
Jang posted [7]a write-up of his work , in Vietnamese, with a link to the code on GitHub. And a few hours later, the link to the code on GitHub no longer functioned.
[8]
Er, double standards anyone?
While the PoC code [9]remains accessible in code repos hosted elsewhere, such as competitor GitLab, security researchers have been quick to condemn GitHub for its inconsistent standards and Microsoft for supposed self-interested meddling.
"If the policy from the start was no PoC/metasploit/etc – that would suck, but it's their service," said Tavis Ormandy, a Google security researcher, [10]via Twitter . "Instead they said OK, and now that it's become the standard for security pros to share code, they have elected themselves the arbiters of what is 'responsible.' How convenient."
Beware the IDEs of March: Microsoft's latest monthly fixes land after frantic Exchange Server updates [11]READ MORE
[12]Other PoC code for the same CVE was still available on GitHub at the time this article was filed.
"This is huge, removing a security researchers' code from GitHub against their own product and which has already been patched," decried Dave Kennedy, founder of TrustedSec, [13]via Twitter .
But as others discussing the code takedown have argued, while a patch has been issued, it hasn't necessarily been applied by all the companies running Exchange Servers.
In other words, given how many systems are still vulnerable and under active attack out there, can you really fault Microsoft for trying to limit the spread of exploit code that could be used to bring those installations to their knees?
Kennedy, nonetheless, contends that's not really relevant since the PoC is not fully functional and doesn't include remote code execution capabilities.
GitHub's stated [14]policy disallows any repositories that contain or install "any active malware or exploits."
GitHub did not immediately respond to The Register 's request for comment but it [15]defended its actions to Vice by stating that Jang's PoC code pertains to a recently disclosed vulnerability that's being actively exploited.
[16]
Microsoft also did not respond to a request for comment. ®
Get our [17]Tech Resources
[1] https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-26855
[2] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_security/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2YEr1a4vOf7XUpTsW7nLWQgAAANg&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0
[3] https://proxylogon.com/
[4] https://www.theregister.com/2021/03/03/hafnium_exchange_server_attack/
[5] https://www.microsoft.com/security/blog/2021/03/02/hafnium-targeting-exchange-servers/
[6] https://www.theregister.com/2021/03/08/us_national_security_council_says/
[7] https://testbnull.medium.com/ph%C3%A2n-t%C3%ADch-l%E1%BB%97-h%E1%BB%95ng-proxylogon-mail-exchange-rce-s%E1%BB%B1-k%E1%BA%BFt-h%E1%BB%A3p-ho%C3%A0n-h%E1%BA%A3o-cve-2021-26855-37f4b6e06265
[8] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_security/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YEr1a4vOf7XUpTsW7nLWQgAAANg&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[9] https://git.blackmarble.sh/backup/proxyLogon/-/blob/main/PoC_proxyLogon.py
[10] https://twitter.com/taviso/status/1370092550673952768?s=20
[11] https://www.theregister.com/2021/03/09/march_patch_tuesday/
[12] https://github.com/h4x0r-dz/CVE-2021-26855
[13] https://twitter.com/HackingDave/status/1370070863505199108?s=20
[14] https://docs.github.com/en/github/site-policy/github-acceptable-use-policies#2-content-restrictions
[15] https://www.vice.com/en/article/n7vpaz/researcher-publishes-code-to-exploit-microsoft-exchange-vulnerabilities-on-github
[16] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_security/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YEr1a4vOf7XUpTsW7nLWQgAAANg&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[17] https://whitepapers.theregister.com/
Error by MS?
“Other PoC code for the same CVE was still available on GitHub"
Given the documentation was in Vietnamese, could it be that they didn't realise it was just a PoC like the others they'd left up?
Re: Error by MS?
aah, the good old "it's incompetence, not malice!".
It amuses me greatly that companies keep saying what boils down to "We're not evil, we're just terrible at our jobs. Buy our products!"
Re: Error by MS?
Yeah, in my opinion, incompetence is worse than malice. Like, even if what someone does is malicious in nature, at least you can appreciate the beauty of their work in a positive light. If someone is just patently stupid and that results in a bad outcome, then there's nothing to admire besides their astounding mental capacity.
Of course, if someone is incompetent and malicious, then that's what we in the industry call two candles short of a summoning circle—either hilarious to watch and comfortable in your relatively assured safety, or running for your life because they just released the antichrist.
Re: Error by MS?
Agreed.
we in the industry call two candles short of a summoning circle
Haha, nice.
I call that "a government contractor" ;)
Simple
If POCs were not published, vendors would not fix their products. Here I thought everyone knew that, silly me.
What. A. Shock.
I'd be surprised by this development, but the only thing stopping me is my complete lack of surprise.
The thing that does actually surprise me is that there are people who still use github after the ms aquisition. Did people not see this type of bullshit coming?