CISA warns of remote code execution vulnerability with Discourse

CISA urged[1] developers to update Discourse versions 2.7.8 and earlier in a notice sent out on Sunday, warning that a remote code execution vulnerability was tagged as "critical." 

The issue was patched[2] on Friday, and developers explained that CVE-2021-41163[3] involved "a validation bug in the upstream aws-sdk-sns gem" that could "lead to RCE in Discourse via a maliciously crafted request."

Developers noted that to work around the issue without updating, "requests with a path starting /webhooks/aws could be blocked at an upstream proxy."

The popular open source discussion platform attracts millions of users[4] every month, prompting the message from CISA urging updates to be pushed through. 

Researchers have detailed the finer points[5] of the problem in blog posts and reported the issue to Discourse, which did not respond to requests for comment. 

BleepingComputer[6] conducted a search on Shodan that found all Discourse SaaS instances have been patched. 

Saryu Nayyar, CEO of cybersecurity company Gurucul, said Discourse "continues to make news after researchers discovered a vulnerability that enabled attackers to invoke OS commands at the Administrator level." 

"It's critically important for both systems administrators and individual users to keep up with security information from software providers and to install patches promptly. We can't rely on Microsoft or other OS vendors to automatically push patches to our systems. Users of Discourse software should test and install this patch as their most important priority," Nayyar said. 

"Most user computers don't have computer admin access. If the only admin access on a computer is through the network administrator account, if you can execute using admin access, hackers have the potential to send a command that can compromise the entire network."

Haystack Solutions CEO Doug Britton said the vulnerability is dangerous because it can be run remotely without already being an authenticated user on the victim server.

"Level 10 bugs are undoubtedly the most serious vulnerabilities. Discourse is a major communications platform," Britton said. 

References

  1. ^ urged (us-cert.cisa.gov)
  2. ^ was patched (github.com)
  3. ^ CVE-2021-41163 (nvd.nist.gov)
  4. ^ attracts millions of users (www.similartech.com)
  5. ^ have detailed the finer points (0day.click)
  6. ^ BleepingComputer (www.bleepingcomputer.com)

Read more

Image

Pensée du jour :

Ce que l'homme a fait ,

l'homme peut le défaire.

 

"No secure path in the world"