Unitriangular actions on quadratic forms and character degrees