Army spokesman Col. Nizar Fares said the infiltrator crossed the U.N. buffer zone on the Golan Heights and dug a ditch under the electronic fence. He then penetrated the Hazeka border post northeast of the settlement town of Kazrin.
After firing at the fuel tank he entered an office and shot at an officer.
The bullets were blanks and the officer overpowered him.
Army radio said the infiltrator was out to avenge the death of his parents by Israeli soldiers some 20 years ago. A military spokesman said he identified himself as a Fatah activist who lived in the Yarmulke refugee camp in Syria and wanted to kidnap a soldier.
Foreign Ministry Director-General Ron Prosor, who met foreign correspondents in Jerusalem, noted the Israeli-Syrian border has been quiet since 1974.
Kate Middleton recycles dress at movie premiere
Couple mistakenly served bag of cash at McDonald's drive-thru