Miggo Logo

CVE-2006-0743:
Apache log4net format string vulnerability causes DoS

5

CVSS Score

Basic Information

EPSS Score
-
Published
5/1/2022
Updated
2/9/2024
KEV Status
No
Technology
TechnologyC#

Technical Details

CVSS Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
Package NameEcosystemVulnerable VersionsFirst Patched Version
log4netnuget<= 1.2.91.2.10

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The commit diff shows the vulnerability stemmed from directly passing the message to syslog() as the format string argument. The original code used 'syslog(priority, message)' which exposes a classic format string vulnerability when 'message' contains user-controlled content. The patch explicitly adds a static '%s' format string as the second parameter, making 'message' a safe argument rather than a format template. The CWE-134 classification and advisory descriptions confirm this was a format string misuse in the syslog function call.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

*orm*t strin* vuln*r**ility in Lo**lSyslo**pp*n**r in *p**** lo**n*t *.*.* mi**t *llow r*mot* *tt**k*rs to **us* * **ni*l o* s*rvi** (m*mory *orruption *n* t*rmin*tion) vi* unknown v**tors.

Reasoning

T** *ommit *i** s*ows t** vuln*r**ility st*mm** *rom *ir**tly p*ssin* t** m*ss*** to syslo*() *s t** *orm*t strin* *r*um*nt. T** ori*in*l *o** us** 'syslo*(priority, m*ss***)' w*i** *xpos*s * *l*ssi* *orm*t strin* vuln*r**ility w**n 'm*ss***' *ont*in