Gogs Zero-Day Exposes Servers to Remote Code Execution

https://www.securityweek.com/wp-content/uploads/2023/01/Cybersecurity_News-SecurityWeek.jpg

The popular open source self-hosted Git service Gogs is affected by a critical-severity zero-day vulnerability that exposes servers to remote code execution (RCE), Rapid7 reports.

The critical-severity issue, assigned a CVSS score of 9.4, is an argument injection flaw that can be exploited by authenticated attackers via pull requests with malicious branch names.

In a technical report, Rapid7 explains that the pull requests inject “the –exec flag into git rebase during the ‘Rebase before merging’ merge operation”, leading to command execution with the privileges of the Gogs server process user.

“A standard merge creates a merge commit joining two branch histories. A rebase before merge replays the head branch’s commits on top of the base branch to produce a linear history,” Rapid7 explains.

While the ‘Rebase before merging’ operation is not enabled by default, any repository owner or administrator can enable it, and any registered user automatically becomes the owner...

Copyright of this story solely belongs to securityweek.com. To see the full text click HERE

Read more

https://cdn.mos.cms.futurecdn.net/9EsRkKapSffbykRzXRqD96-1920-80.png

US marijuana farms are becoming AI data centers — they already have the water and power needed, and with weed…

* Falling cannabis revenues are pushing growers to reconsider cultivation properties * Former marijuana farms have infrastructure that could support smaller AI data centers * AI demand is giving struggling cannabis properties an unexpected commercial purpose The expansion of artificial intelligence infrastructure is creating another possible use for facilities originally constructed to support