Impact: The morgan logging middleware's :remote-user token extracts the Basic auth username from the Authorization request header and writes
위협 신호 · CVSS · EPSS · KEV
이론적 심각도 점수
30일 내 악용 확률 예측
실측 악용 기록 없음
2주 이내 패치 — 우선 조치 대상
CVSS 벡터 · 메트릭
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N약점 (CWE)
상세 설명
Impact: The morgan logging middleware's :remote-user token extracts the Basic auth username from the Authorization request header and writes it to the log stream without neutralizing control characters. An unauthenticated attacker can send a crafted Authorization Basic header containing CR or LF bytes to inject forged log lines, breaking the one-request-per-line structure of access logs and enabling log forgery against downstream log consumers. The built-in combined, common, default, and short formats are affected, as well as any custom format that references :remote-user. Affected versions: morgan 1.2.0 through 1.10.1. Patches: upgrade to morgan 1.11.0, which neutralizes control characters in the :remote-user token output. Workarounds: use a custom format string that does not include :remote-user.
AI 심층 분석
공격 시나리오 · 재현 가능한 PoC 페이로드 · 즉시 적용 가능한 차단 패치를 한 번에 받아 보세요. 보안 운영팀이 그대로 점검·티켓팅에 쓸 수 있는 형태로 정리해 드립니다.
영향받는 제품·버전
- morgan_project morgan1.2.0 - 1.11.0other
영향받는 구성 (CPE) 1
- morgan_project morgan≥ 1.2.0 < 1.11.0cpe:2.3:a:morgan_project:morgan:*:*:*:*:*:node.js:*:*
참고 자료 2
- https://cna.openjsf.org/security-advisories.htmlThird Party Advisory
- https://github.com/expressjs/morgan/security/advisories/GHSA-4vj7-5mj6-jm8mMitigationVendor Advisory
링크 내용 불러오는 중…