Home Security Apache CouchDB flaws open door to cryptocurrency miners

Vulnerabilities in the open source database software Apache CouchDB are being exploited to plant cryptocurrency miners on vulnerable systems, the security firm Trend Micro claims.

Researcher Hubert Lin said in a blog post that a remote privilege escalation flaw and a command execution vulnerability were both being exploited for this purpose.

"Due to differences in CouchDB’s parsers, exploitation of these vulnerabilities can provide attackers with duplicate keys that allow them access control — including administrator rights — within the system," Lin said. "The attackers can then use these functions to execute arbitrary code."

Patches for these flaws were issued back in November 2017.

CouchDB listens on port 5984/TCP by default. Lin said attackers were first using the command execution flaw to set up an account that had administrative privileges.

Then the newly set up account was used to exploit the remote command execution vulnerability.

A script was then downloaded and it first made sure that any competing cryptocurrency mining activity on the compromised host was killed. Then the cryptocurrency mining executable was downloaded and run.

The persistence of the downloaded cryptocurrency miner was ensured by putting cron jobs in place, Lin said.

The popularity of cryptocurrencies and the fact that such attacks do not call attention to themselves in the manner that malware like ransomware does are behind the growing popularity of using mining scripts.

Lin pointed out that CouchDB was relatively popular. "It ranked 28th out of 300 according to DB-engines rankings of database management systems – and is used by some larger organisations, notably the BBC for their content platforms," he said.

"This means that attackers have access to a fairly large active source of resources for their mining operations."

But he said the the system being targeted was not as important as the existence of vulnerabilities that could be exploited.

"It does not really matter whether it is CouchDB or other database systems such as MongoDB. As long as there’s a chance to exploit an RCE (remote code execution), the threat actors will take advantage of it."

47 REASONS TO ATTEND YOW! 2018

With 4 keynotes + 33 talks + 10 in-depth workshops from world-class speakers, YOW! is your chance to learn more about the latest software trends, practices and technologies and interact with many of the people who created them.

Speakers this year include Anita Sengupta (Rocket Scientist and Sr. VP Engineering at Hyperloop One), Brendan Gregg (Sr. Performance Architect Netflix), Jessica Kerr (Developer, Speaker, Writer and Lead Engineer at Atomist) and Kent Beck (Author Extreme Programming, Test Driven Development).

YOW! 2018 is a great place to network with the best and brightest software developers in Australia. You’ll be amazed by the great ideas (and perhaps great talent) you’ll take back to the office!

Register now for YOW! Conference

· Sydney 29-30 November
· Brisbane 3-4 December
· Melbourne 6-7 December

Register now for YOW! Workshops

· Sydney 27-28 November
· Melbourne 4-5 December

REGISTER NOW!

LEARN HOW TO REDUCE YOUR RISK OF A CYBER ATTACK

Australia is a cyber espionage hot spot.

As we automate, script and move to the cloud, more and more businesses are reliant on infrastructure that has the high potential to be exposed to risk.

It only takes one awry email to expose an accounts’ payable process, and for cyber attackers to cost a business thousands of dollars.

In the free white paper ‘6 Steps to Improve your Business Cyber Security’ you’ll learn some simple steps you should be taking to prevent devastating and malicious cyber attacks from destroying your business.

Cyber security can no longer be ignored, in this white paper you’ll learn:

· How does business security get breached?
· What can it cost to get it wrong?
· 6 actionable tips

DOWNLOAD NOW!

Sam Varghese

website statistics

Sam Varghese has been writing for iTWire since 2006, a year after the sitecame into existence. For nearly a decade thereafter, he wrote mostly about free and open source software, based on his own use of this genre of software. Since May 2016, he has been writing across many areas of technology. He has been a journalist for nearly 40 years in India (Indian Express and Deccan Herald), the UAE (Khaleej Times) and Australia (Daily Commercial News (now defunct) and The Age). His personal blog is titled Irregular Expression.

 

Popular News

 

Telecommunications

 

Sponsored News

 

 

 

 

Connect