Militants attack security convoy, two soldiers injured