Skip to content

Commit

Permalink
Add Detection for CVE-2025-0674
Browse files Browse the repository at this point in the history
  • Loading branch information
nmasdoufi-ol committed Feb 10, 2025
1 parent deede4f commit eb8a6dc
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/exploits/cve_2025_0674_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,3 @@ def testElberAuthBypassExploit_whenRequestExceptionOccurs_doesNotRaise(
vulnerabilities = exploit_instance.check(target)

assert len(vulnerabilities) == 0


def test() -> None:
"""Unit test for Elber exploit, ensuring socket errors are handled gracefully."""
target = definitions.Target(scheme="http", host="79.62.145.179", port=8086)
exploit_instance = cve_2025_0674.ElberAuthBypassExploit()

accept = exploit_instance.accept(target)
vulnerabilities = exploit_instance.check(target)

assert accept is True
assert len(vulnerabilities) == 1

0 comments on commit eb8a6dc

Please sign in to comment.