File Replication Pro 7.5.0 – Privilege Escalation/Password reset due Incorrect Access Control
Incorrect file/folder permissions in Diasoft Corporation's File Replication Pro 7.5.0 allow privilege escalation by replacing a file with another one that will be executed with 'LocalSystem' rights from Windows Services application. To exploit the vulnerability a malicious actor/process must weaponize or replace the prunsrv.exe executable that runs with LocalSystem privileges as 'frp' (FRPReplicationServer) service, since the application's path has 'Everyone' full access permissions. Moreover, the 'properties.xml' file in the 'etc' folder inside program's path contains the hashed password for remote access stored in sha1(base64) value, that is possible to modify. Replacing it with a new hash, generated by encrypting a string in SHA-1 and encoding its digest via base64, will grant the login acess to the application with the new password.