Apache2 - Out of Bound Write and Replay Attack Vulnerabilities

apache2 Updated 02 Oct 2025

Summary

30/05/2018
N/A
Yes i
Unrated
Not published

DLA-1389-1: apache2 - security update. Affects apache2 versions < 2.2.22-13+deb7u13. Fixed in 2.2.22-13+deb7u13. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache2 is a widely used open-source web server software that provides a secure and efficient platform for hosting websites. It supports various features and modules, including mod_authnz_ldap and mod_auth_digest, which handle LDAP authentication and HTTP Digest authentication, respectively. These modules are vulnerable to two distinct security issues.

Vulnerability Detail

The first vulnerability, identified as CVE-2017-15710, affects mod_authnz_ldap when configured with AuthLDAPCharsetConfig. An attacker can exploit this vulnerability by sending a crafted Accept-Language header, leading to an out-of-bound write and potentially causing a Denial of Service attack.

The second vulnerability, known as CVE-2018-1312, is related to the generation of HTTP Digest authentication challenges by mod_auth_digest. The nonce used to prevent reply attacks is not correctly generated using a pseudo-random seed. This flaw allows an attacker to replay HTTP requests across servers in a cluster that share a common Digest authentication configuration, without detection.

How To Fix

Minimum fixed version

2.2.22-13+deb7u13

This is the first release that contains the fix.

sudo apt-get install --only-upgrade apache2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

Upgrading the apache2 package to version 2.2.22-13+deb7u13 or later is crucial to mitigate the out-of-bound write and replay attack vulnerabilities. It is recommended to apply the security update promptly to ensure the continued security and stability of your Apache HTTP server. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for apache2 →

Share this vulnerability

FAQ

Exploiting this vulnerability can lead to a Denial of Service attack, potentially causing the Apache HTTP server to crash.

By replaying HTTP requests across servers in a cluster, an attacker can bypass authentication and perform unauthorized actions.

No specific workarounds have been provided. It is recommended to apply the security update as soon as possible.

No, only Apache2 version 2.2.22-13+deb7u13 and earlier versions are affected. Upgrading to the latest version will mitigate the vulnerabilities.

You can find further information about Debian LTS security advisories, including how to apply updates and frequently asked questions, at the following link: https://wiki.debian.org/LTS

Related vulnerabilities

Recent vulnerabilities recorded for apache2.

How To Fix

Minimum fixed version

2.2.22-13+deb7u13

This is the first release that contains the fix.

sudo apt-get install --only-upgrade apache2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback