{"record":{"id":"f512314e81afe5cf","repo":"shadow1ng/fscan","slug":"service-not-identified-f51231","errorCode":null,"errorMessage":"service_not_identified","messagePattern":"service_not_identified","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"plugins/services/neo4j.go","lineNumber":177,"sourceCode":"\tif err != nil {\n\t\treturn nil\n\t}\n\tdefer func() { _ = resp.Body.Close() }()\n\n\tif resp.StatusCode == 200 {\n\t\tbody, err := readServiceHTTPBody(resp.Body)\n\t\tif err != nil {\n\t\t\treturn &ScanResult{\n\t\t\t\tSuccess: false,\n\t\t\t\tService: \"neo4j\",\n\t\t\t\tError:   err,\n\t\t\t}\n\t\t}\n\t\tif !strings.Contains(strings.ToLower(string(body)), \"neo4j\") {\n\t\t\treturn &ScanResult{\n\t\t\t\tSuccess: false,\n\t\t\t\tService: \"neo4j\",\n\t\t\t\tError:   fmt.Errorf(\"%s\", i18n.Tr(\"service_not_identified\", \"Neo4j\")),\n\t\t\t}\n\t\t}\n\t\treturn &ScanResult{\n\t\t\tType:    plugins.ResultTypeVuln,\n\t\t\tSuccess: true,\n\t\t\tService: \"neo4j\",\n\t\t\tBanner:  i18n.GetText(\"service_unauthorized\"),\n\t\t}\n\t}\n\n\treturn nil\n}\n\nfunc (p *Neo4jPlugin) identifyService(ctx context.Context, info *common.HostInfo, session *common.ScanSession) *ScanResult {\n\tconfig := session.Config\n\ttarget := info.Target()\n\tbaseURL := \"http://\" + info.Target()\n","sourceCodeStart":159,"sourceCodeEnd":195,"githubUrl":"https://github.com/shadow1ng/fscan/blob/95cc12e753bf43de7004e5aef42a9ffba3934303/plugins/services/neo4j.go#L159-L195","documentation":"Guard in testUnauthorizedAccess: an HTTP 200 response body did not contain the string 'neo4j', so the open endpoint is not confirmed to be Neo4j and is treated as an unidentified service instead of a valid unauthorized-access finding.","triggerScenarios":"Thrown at plugins/services/neo4j.go:177 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Confirm the port actually serves Neo4j's HTTP API","Extend the fingerprint signatures used for body matching","Probe alternate Neo4j ports (7473/7474) if the service is elsewhere"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"95cc12e753bf43de7004e5aef42a9ffba3934303","analyzedAt":"2026-09-06T17:07:30.094Z","contentChangedAt":"2026-09-06T17:07:30.094Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}