Connect with us
X
Categories:

Technology

Apache Commons Text RCE: Similar to Log4Shell, but with “far reduced” exposure risk

Published

on

Apache Commons Text RCE: Similar to Log4Shell, but with "far reduced" exposure risk
Share this post:

A critical flaw patched in the Apache Commons Text library has sparked comparisons with the ‘Log4Shell’ bug that surfaced in the near-ubiquitous open source component Log4j last year.

However, the researcher who found and reported the Commons Text flaw in March has downplayed its comparative impact, while acknowledging a resemblance to the ‘Log4Shell’ vulnerability that is widely recognized as one of the most severe flaws of all time.

Lookup link

“The vulnerability is indeed very similar,” GitHub Security Lab principal researcher Alvaro Muñoz told Daily Swig.

“The Apache Commons Text code appears to be based on the Log4j code, as both of them enable interpolation of multiple Lookup sources. Log4j enabled JNDI lookups [while] Apache Commons Text and Apache Commons Configuration allows script lookups – both could lead to RCE. The impact is, therefore, very high.

“However, it is worth keeping in mind that an issue’s severity is calculated based on both the impact and the likelihood, and for the Apache Commons Text, the likelihood of untrusted data flowing to ACT’s sink is much lower.”

Apache Commons Text performs text operations such as escaping, calculating string differences, and substituting placeholders in text with values looked up through interpolators. Fellow open source library Log4j is a Java-based logging utility.

Tracked as CVE-2022-42889, the Commons Text bug emerged on October 13 with an Apache Software Foundation (ASF) security advisory.

The vulnerability centers on an insecure implementation of the library’s variable interpolation functionality, namely that certain default lookup strings could potentially accept untrusted input from remote attackers, such as DNS requests, URLs, or inline scripts.

‘Clearly documented’

A technical analysis published yesterday by Rapid7 also attempted to tamp down hype over the bug, whose CVSS score of 9.8 is nevertheless close to Log4Shell’s perfect 10 on the severity front.

The vulnerable “StringSubstitutor interpolator is considerably less widely used than the vulnerable string substitution in Log4j and the nature of such an interpolator means that getting crafted input to the vulnerable object is less likely than merely interacting with such a crafted string as in Log4Shell,” said Rapid7.

Arnout Engelen, security response program manager at the ASF, echoed these sentiments, telling Daily Swig: “In Log4Shell, string interpolation was possible from the log message body, which commonly contains untrusted input. In the Apache Common Text issue, the relevant method is explicitly intended and clearly documented to perform string interpolation, so it is much less likely that applications would inadvertently pass in untrusted input without proper validation.”

RECOMMENDED  Your daily horoscope for Tuesday, October 25, 2022

Remediation

The flaw affects Apache Commons Text versions 1.5 through 1.9, and all JDK versions, and has been patched in version 1.10.

Engelen said: “When using the string substitution feature, some of the available interpolators can trigger network access or code execution. This is intended, but it also means an application that includes user input in the string passed to the substitution without properly sanitizing it would allow an attacker to trigger those interpolators.

“For that reason the Apache Commons Text team have decided to update the configuration to be more ‘secure by default’, so that the impact of a failure to validate inputs is mitigated and will not give an attacker access to these interpolators.

“However, it is still recommended that users treat untrusted input with care. We’re not currently aware of any applications that pass untrusted input to the substitutor and thus would have been impacted by this problem prior to Apache Commons Text 1.10.0.”

Rapid7 recommends that developers and maintainers watch out for follow-on vendor advisories, install “patches as they become available, and prioritize anywhere the vendor indicates that their implementation may be remotely exploitable”.


Get More Stories Like This On: Facebook: @AllNaijaEntertainment, Twitter: @AllNaijaEntertainment
Lotus Car UK
Automobile2 days ago

UK Brand Lotus Lowers Production Targets Due To Import Tariffs

Electric G-Wagon
Automobile2 days ago

Electric G-Wagon Launches In UK With A Price Tag Of Over £180,000

Olumide Akpata
News2 days ago

Edo guber: I answer to no godfather only Edo people – Olumide Akpata declares

Why Victor Osimhen of Napoli made fun of Verona supporters with a "funny" celebration
Sports2 days ago

Chelsea: Al Ahli agree €80m fee for Osimhen, player to sign £646,000-a-week deal

Simon Ekpa
News4 days ago

Simon Ekpa fire back at Nigeria govt over extradition him from Finland

Atiku Abubakar
Education4 days ago

Under 18s limit for university, WAEC, NECO policy – Atiku react

Education4 days ago

WAEC, NECO will no longer allow under 18 – Nigerian Govt

Godwin Obaseki
News4 days ago

Group tell Obaseki to beg Oba of Benin for forgiveness

Lagos Red Line Train
Automobile4 days ago

Lagos Red Line To Begin Free Operation on Wednesday

PDP logo
News5 days ago

LG Election: Benue PDP Release Guidelines

WHO World Health Organization
Health5 days ago

WHO Unveil Budget For Monkey Pox

GDP
Business5 days ago

Nigeria’s GDP grew by 3.19% in Q2 2024 amid hardship

NYSC Service Corp Members
Education5 days ago

NYSC launches redeployment option for married female corps members

Black Market
News5 days ago

Fuel Scarcity: FRSC sends warning motorists against travelling with petrol in jerrycans

News5 days ago

Imo APC ward chairman arrested for allegedly selling FG’s palliative

Farm land
News5 days ago

Farmers lament in Adamawa as thieves plunder farms, steal crops

Chinese EVs
Automobile5 days ago

Market: Chinese EVs Are Thriving In Latin American Countries

VW Golf R year 20 Edition
Automobile5 days ago

Huge Fine Plies European Car Manufacturers

Electric Vehicle Charging
Automobile7 days ago

South Korea Bans Fully Charged Electric Vehicles Entering Underground Garages

Non-Tesla vehicles with CCS compatible models include the BMW i3, Kia e-Niro, and Jaguar I-Pace
Automobile7 days ago

Tesla Recalls Over 9,000 Cars In The US To Avoid Parts Falling Off the Roof

Volkswagen
Automobile7 days ago

Volkswagen Lowers Battery Production Targets

Ford Cancels Its Three-Row Electric SUV Focuses On Hybrids
Automobile1 week ago

Market Study: Electric Cars Are Too Expensive

Ford Cancels Its Three-Row Electric SUV Focuses On Hybrids
Automobile1 week ago

China Considers Import Tariffs On Foreign Vehicles

Everything To Know About Nigeria New Presidential Jet, Previous Users, Age & Cost
Automobile1 week ago

Everything To Know About Nigeria’s New Presidential Jet, Previous Users, Age & Cost

BMW Becomes Europe Most Popular EV Brand Overtakes Tesla
Automobile1 week ago

BMW Becomes Europe’s Most Popular EV Brand Overtakes Tesla

Ford Cancels Its Three-Row Electric SUV Focuses On Hybrids
Automobile1 week ago

Ford Cancels Its Three-Row Electric SUV Focuses On Hybrids

Benefits of Partnering with a Managed Security Service Provider
Technology3 months ago

Benefits of Partnering with a Managed Security Service Provider

Diya Cant Have Enough
Music4 months ago

[Music] Diya – “Can’t Have Enough” Feat G-Wills

Email Newsletter Marketing Online Website
Technology4 months ago

The Vital Role of Email Fraud Detection Software

Roisea: Most Advanced Crypto Trading Platform for Bitcoin
Business5 months ago

The Role of Regulation in Crypto Investment: Navigating Legal Frameworks

Volatility in Commodities and How to Deal with It
Business5 months ago

Volatility in Commodities and How to Deal with It

Expanding Living Space
Lifestyle7 months ago

Expanding Living Space: Prefabricated Workshop Building Kits for Extra Rooms

BeBe Winans
Lyrics7 months ago

BeBe Winans – It All Comes Down to Love [Lyrics]

BeBe Winans
Music7 months ago

[Music] BeBe Winans – It All Comes Down to Love

The Countdown Begins to the Tournament That Has It All
ANE Football Analytical8 months ago

AFCON 2023: A Sporting Spectacle Set to Captivate the World

Litecoin: What Makes It The Crypto Winner?
Technology9 months ago

Runny Inflation Can Drive Cryptocurrency Adoption

Black and White French Bulldog puppies Frenchie Joy
Lifestyle9 months ago

Black and White French Bulldog puppies Frenchie Joy

3 Serious Reasons to Keep Your Teenager Away From Social Media
Lifestyle9 months ago

3 Serious Reasons to Keep Your Teenager Away From Social Media

Boxing vs MMA What Makes Them So Different
Sports10 months ago

Boxing vs MMA: What Makes Them So Different

Roisea: Most Advanced Crypto Trading Platform for Bitcoin
Technology10 months ago

NFTs and Intellectual Property Rights: Shaping Creative Ownership

VW Golf R year 20 Edition
Automobile5 days ago

Huge Fine Plies European Car Manufacturers

Chinese EVs
Automobile5 days ago

Market: Chinese EVs Are Thriving In Latin American Countries

Electric Vehicle Charging
Automobile7 days ago

South Korea Bans Fully Charged Electric Vehicles Entering Underground Garages

Farm land
News5 days ago

Farmers lament in Adamawa as thieves plunder farms, steal crops

Non-Tesla vehicles with CCS compatible models include the BMW i3, Kia e-Niro, and Jaguar I-Pace
Automobile7 days ago

Tesla Recalls Over 9,000 Cars In The US To Avoid Parts Falling Off the Roof

Black Market
News5 days ago

Fuel Scarcity: FRSC sends warning motorists against travelling with petrol in jerrycans

NYSC Service Corp Members
Education5 days ago

NYSC launches redeployment option for married female corps members

Volkswagen
Automobile7 days ago

Volkswagen Lowers Battery Production Targets

News5 days ago

Imo APC ward chairman arrested for allegedly selling FG’s palliative

GDP
Business5 days ago

Nigeria’s GDP grew by 3.19% in Q2 2024 amid hardship

WHO World Health Organization
Health5 days ago

WHO Unveil Budget For Monkey Pox

PDP logo
News5 days ago

LG Election: Benue PDP Release Guidelines

Lagos Red Line Train
Automobile4 days ago

Lagos Red Line To Begin Free Operation on Wednesday

Education4 days ago

WAEC, NECO will no longer allow under 18 – Nigerian Govt

Why Victor Osimhen of Napoli made fun of Verona supporters with a "funny" celebration
Sports2 days ago

Chelsea: Al Ahli agree €80m fee for Osimhen, player to sign £646,000-a-week deal

Godwin Obaseki
News4 days ago

Group tell Obaseki to beg Oba of Benin for forgiveness

Atiku Abubakar
Education4 days ago

Under 18s limit for university, WAEC, NECO policy – Atiku react

Olumide Akpata
News2 days ago

Edo guber: I answer to no godfather only Edo people – Olumide Akpata declares

Electric G-Wagon
Automobile2 days ago

Electric G-Wagon Launches In UK With A Price Tag Of Over £180,000

Simon Ekpa
News4 days ago

Simon Ekpa fire back at Nigeria govt over extradition him from Finland

Lotus Car UK
Automobile2 days ago

UK Brand Lotus Lowers Production Targets Due To Import Tariffs

ANE Billboard Hots