Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Important SECURITY FIX! The UserDB Passwordcheck was buggy since 1138, any password allows access with the rights of the user!

allo28f890ee3e7f
diff --git a/source/de/anomic/data/userDB.java b/source/de/anomic/data/userDB.java
index 40b63105d..faea64fc5 100644
--- a/source/de/anomic/data/userDB.java
+++ b/source/de/anomic/data/userDB.java
@@ -238,8 +238,9 @@ public final class userDB {
}catch(IOException e){}
return null;
}
+ return entry;
}
- return entry;
+ return null;
}
public Entry md5Auth(String user, String md5){
Entry entry=this.getEntry(user);