All reports
Medium

Coverage REST API Server Side Request Forgery

Affected versions

Affected versions
< 2.26.0
Fixed version
2.26.0
Affected versions
< 2.26.0
Fixed version
2.26.0

Exploitation

CVE-2024-40625

Probability of exploitation in the next 30 days: 0.39%

FIRST EPSS · 2026-11-18

Description

Summary

The Coverage rest api /workspaces/{workspaceName}/coveragestores/{storeName}/{method}.{format} allow to upload file with a specified url (with {method} equals 'url') with no restrict.

Details

The Coverage rest api /workspaces/{workspaceName}/coveragestores/{storeName}/{method}.{format} allow to upload file with a specified url (with {method} equals 'url'). But this url has not been check with URL Checks feature.

For example, should add the code below to check fileURL:

URLCheckers.confirm(fileURL)

The vulnerable code was RESTUtils.java

Impact

This vulnerability presents the opportunity for Server Side Request Forgery.

References

Links

Credits

  • trganda
  • jodygarnett