Skip to content

Commit 2644ebe

Browse files
fix: nullptr excepation
1 parent e800880 commit 2644ebe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • doyensec/detectors/cve-2019-0192-apache-solr-unsafe-deserialization/src/main/java/com/google/tsunami/plugins/detectors/cves/cve20190192

doyensec/detectors/cve-2019-0192-apache-solr-unsafe-deserialization/src/main/java/com/google/tsunami/plugins/detectors/cves/cve20190192/ApacheSolrCve20190192.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ private boolean isServiceVulnerable(NetworkService networkService) {
254254
payload = this.payloadGenerator.generate(config);
255255
// Use callback for RCE confirmation and raise severity on success
256256
if (payload == null || !payload.getPayloadAttributes().getUsesCallbackServer()) {
257-
logger.atWarning().log(
258-
"Tsunami Callback Server not available: detector will use response matching only.");
257+
logger.atWarning().log("Tsunami Callback Server not available");
258+
return false;
259259
} else {
260260
oobCallbackUrl = payload.getPayload();
261261
}

0 commit comments

Comments
 (0)