README.NTSecurity 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. Issue:
  2. ======
  3. If the LocalSystem user is allowed to install the Firebird Service,
  4. it could make the whole system accessible to a malicious attacker.
  5. Scope:
  6. ======
  7. Affects Windows NT platforms.
  8. Document author:
  9. =================
  10. Alex Peshkov ([email protected])
  11. Document date: 2003/06/22
  12. ==============
  13. Firebird installation kits for Windows NT systems, i.e. those that
  14. support services, currently provide a route into the host system
  15. for any hacker who finds a new security hole in Firebird. All of
  16. the current kits install the Firebird service to run under the
  17. LocalSystem account. Through Firebird, the attacker can get
  18. LocalSystem access to the system.
  19. The steps to fix things manually are simple:
  20. 1) add the user 'firebird' as a member of the Domain users group,
  21. with default rights
  22. 2) grant this user write access to all databases, including
  23. security2.fdb (isc4.gdb in pre-1.5 versions), and the
  24. firebird.log file
  25. 3) grant the user 'firebird' rights to "Login as service"
  26. 4) make the Firebird services (FirebirdServer and FirebirdGuardian,
  27. if used, log in with username 'firebird'
  28. Solution:
  29. =========
  30. Alex Peshkov
  31. People writing installers should note that Firebird's standard routine
  32. to install and manage the Firebird Service on WinNT/2000/XP platforms
  33. (instsvc.exe) was upgraded in version 1.5 by the addition of an
  34. optional L[ogin] switch to the {install} command. It is strongly
  35. recommended that you employ this switch in the Windows kits, to make
  36. the 'firebird' user, not LocalSystem, the default account under which
  37. the Firebird Service logs in.
  38. For more details, see the document README.instsvc
  39. switch to (see instsvc.exe).